Commit 6dba29af authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Check for strtoll

parent 7707296d
......@@ -26,11 +26,13 @@ SET(ICE_SIZEOF_INT ${CMAKE_SIZEOF_INT})
SET(ICE_SIZEOF_LONG ${CMAKE_SIZEOF_LONG})
SET(ICE_SIZEOF_SHORT ${CMAKE_SIZEOF_SHORT})
INCLUDE (${CMAKE_ROOT}/Modules/CheckTypeSize.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
MESSAGE(STATUS "Finding a 64 Bit Integer")
IF(WIN32)
CHECK_TYPE_SIZE(__int64 SIZEOF___INT64)
ENDIF(WIN32)
CHECK_TYPE_SIZE("long long" SIZEOF_LONG_LONG)
CHECK_FUNCTION_EXISTS(strtoll HAVE_STRTOLL)
# Don't Really Need to check these ...
SET(ICE_VOID_VALID 1)
......
......@@ -82,6 +82,8 @@
#cmakedefine SIZEOF___INT64
#endif
#cmakedefine HAVE_STRTOLL
#ifndef SIZEOF_LONG_LONG
#cmakedefine SIZEOF_LONG_LONG
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment