Don't check for __int64
This commit is contained in:
parent
dac609b29a
commit
2fc8461c14
@ -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()
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user