diff options
| author | David Faure <faure@kde.org> | 2008-07-07 14:36:58 +0000 | 
|---|---|---|
| committer | David Faure <faure@kde.org> | 2008-07-07 14:36:58 +0000 | 
| commit | 7b547193adc09704c9fc69b22378c97452821b78 (patch) | |
| tree | 3894fa67aae3262f395d4d65c4a89e8eb16c2d14 | |
| parent | eb8b7009c84d207c26d78b7b8a66502466ae97d1 (diff) | |
| download | extra-cmake-modules-7b547193adc09704c9fc69b22378c97452821b78.tar.gz extra-cmake-modules-7b547193adc09704c9fc69b22378c97452821b78.tar.bz2 | |
Fix obviously untested commit ("undefined reference to main"; wrong if syntax; test said that off_t wasn't 64 bit on a 64 bit machine...)
svn path=/trunk/KDE/kdelibs/; revision=829098
| -rw-r--r-- | modules/FindKDE4Internal.cmake | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 230ca1d5..d8df175e 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -885,12 +885,12 @@ if (UNIX)  #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; -" -      _OFFT_IS_64BIT) +  int main() { return 0; } +" _OFFT_IS_64BIT) -   if (not ${_OFFT_IS_64BIT}) +   if (NOT _OFFT_IS_64BIT)       set ( _KDE4_PLATFORM_DEFINITIONS "${_KDE4_PLATFORM_DEFINITIONS} -D_FILE_OFFSET_BITS=64") -   endif (not ${_OFFT_IS_64BIT}) +   endif (NOT _OFFT_IS_64BIT)  endif (UNIX)  if (CMAKE_SYSTEM_NAME MATCHES BSD) | 
