diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-28 19:06:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-28 19:06:13 +0000 |
commit | ea6ed86cb49e9d294816dbd8e2928c1707b27d3d (patch) | |
tree | d272af71b2c2c695929805203ce456a3687111d0 | |
parent | Fix. (diff) | |
parent | Import from zlib-1.2.5 (diff) | |
download | rtems-ea6ed86cb49e9d294816dbd8e2928c1707b27d3d.tar.bz2 |
This commit was generated by cvs2svn to compensate for changes in r22914,
which included commits to RCS files with non-trunk default branches.
-rw-r--r-- | cpukit/zlib/CMakeLists.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cpukit/zlib/CMakeLists.txt b/cpukit/zlib/CMakeLists.txt index 7eefa49251..a64fe0b2ca 100644 --- a/cpukit/zlib/CMakeLists.txt +++ b/cpukit/zlib/CMakeLists.txt @@ -20,7 +20,7 @@ check_include_file(stddef.h HAVE_STDDEF_H) # # Check to see if we have large file support # -set(CMAKE_REQUIRED_DEFINITIONS -D_LARGEFILE64_SOURCE) +set(CMAKE_REQUIRED_DEFINITIONS -D_LARGEFILE64_SOURCE=1) # We add these other definitions here because CheckTypeSize.cmake # in CMake 2.4.x does not automatically do so and we want # compatibility with CMake 2.4.x. @@ -35,7 +35,7 @@ if(HAVE_STDDEF_H) endif() check_type_size(off64_t OFF64_T) if(HAVE_OFF64_T) - add_definitions(-D_LARGEFILE64_SOURCE) + add_definitions(-D_LARGEFILE64_SOURCE=1) endif() set(CMAKE_REQUIRED_DEFINITIONS) # clear variable @@ -52,13 +52,6 @@ endif() # check_include_file(unistd.h Z_HAVE_UNISTD_H) -# -# Check for errno.h -check_include_file(errno.h HAVE_ERRNO_H) -if(NOT HAVE_ERRNO_H) - add_definitions(-DNO_ERRNO_H) -endif() - if(MSVC) set(CMAKE_DEBUG_POSTFIX "d") add_definitions(-D_CRT_SECURE_NO_DEPRECATE) |