Changeset ea6ed86c in rtems for cpukit/zlib/CMakeLists.txt


Ignore:
Timestamp:
Mar 28, 2010, 7:06:13 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
59efee34
Parents:
5c541d4 (diff), d5af3c1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

This commit was generated by cvs2svn to compensate for changes in r22914,
which included commits to RCS files with non-trunk default branches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/CMakeLists.txt

    r5c541d4 rea6ed86c  
    2121# Check to see if we have large file support
    2222#
    23 set(CMAKE_REQUIRED_DEFINITIONS -D_LARGEFILE64_SOURCE)
     23set(CMAKE_REQUIRED_DEFINITIONS -D_LARGEFILE64_SOURCE=1)
    2424# We add these other definitions here because CheckTypeSize.cmake
    2525# in CMake 2.4.x does not automatically do so and we want
     
    3636check_type_size(off64_t OFF64_T)
    3737if(HAVE_OFF64_T)
    38    add_definitions(-D_LARGEFILE64_SOURCE)
     38   add_definitions(-D_LARGEFILE64_SOURCE=1)
    3939endif()
    4040set(CMAKE_REQUIRED_DEFINITIONS) # clear variable
     
    5252#
    5353check_include_file(unistd.h Z_HAVE_UNISTD_H)
    54 
    55 #
    56 # Check for errno.h
    57 check_include_file(errno.h HAVE_ERRNO_H)
    58 if(NOT HAVE_ERRNO_H)
    59    add_definitions(-DNO_ERRNO_H)
    60 endif()
    6154
    6255if(MSVC)
Note: See TracChangeset for help on using the changeset viewer.