aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt14
-rw-r--r--config.h.in3
2 files changed, 3 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5265cc66..2edaa377 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -673,17 +673,9 @@ CHECK_SYMBOL_EXISTS(getopt unistd.h HAVE_GETOPT)
# Check for a 64-bit type
CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
IF(NOT HAVE_STDINT_H)
- IF(HAVE_WINDOWS_H)
- CHECK_C_SOURCE_COMPILES("#define _WIN32_WINNT 0x0502
- #include <windows.h>
- __int64 foo;
- int main() {return 0;}" HAVE___INT64)
- ENDIF()
- IF(NOT HAVE___INT64)
- IF(NOT SIZEOF_LONG MATCHES "8")
- IF(NOT SIZEOF_LONG_LONG MATCHES "8")
- MESSAGE(FATAL_ERROR "No 64-bit types found, please report!")
- ENDIF()
+ IF(NOT SIZEOF_LONG MATCHES "8")
+ IF(NOT SIZEOF_LONG_LONG MATCHES "8")
+ MESSAGE(FATAL_ERROR "No 64-bit types found, please report!")
ENDIF()
ENDIF()
ENDIF()
diff --git a/config.h.in b/config.h.in
index 4c68e77f..cc428891 100644
--- a/config.h.in
+++ b/config.h.in
@@ -86,9 +86,6 @@
/* Define if we have the stat function */
#cmakedefine HAVE_STAT
-/* Define if we have the __int64 type */
-#cmakedefine HAVE___INT64
-
/* Define to the size of a long int type */
#cmakedefine SIZEOF_LONG ${SIZEOF_LONG}