Don't check for __int64
This commit is contained in:
parent
dac609b29a
commit
2fc8461c14
@ -673,20 +673,12 @@ CHECK_SYMBOL_EXISTS(getopt unistd.h HAVE_GETOPT)
|
|||||||
# Check for a 64-bit type
|
# Check for a 64-bit type
|
||||||
CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
|
CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
|
||||||
IF(NOT 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 MATCHES "8")
|
||||||
IF(NOT SIZEOF_LONG_LONG MATCHES "8")
|
IF(NOT SIZEOF_LONG_LONG MATCHES "8")
|
||||||
MESSAGE(FATAL_ERROR "No 64-bit types found, please report!")
|
MESSAGE(FATAL_ERROR "No 64-bit types found, please report!")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
|
|
||||||
SET(COMMON_OBJS
|
SET(COMMON_OBJS
|
||||||
|
@ -86,9 +86,6 @@
|
|||||||
/* Define if we have the stat function */
|
/* Define if we have the stat function */
|
||||||
#cmakedefine HAVE_STAT
|
#cmakedefine HAVE_STAT
|
||||||
|
|
||||||
/* Define if we have the __int64 type */
|
|
||||||
#cmakedefine HAVE___INT64
|
|
||||||
|
|
||||||
/* Define to the size of a long int type */
|
/* Define to the size of a long int type */
|
||||||
#cmakedefine SIZEOF_LONG ${SIZEOF_LONG}
|
#cmakedefine SIZEOF_LONG ${SIZEOF_LONG}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user