###############################################################################
# Check struct members
-# Check for tv_sec in struct timeval
+# Check for tv_sec in struct timeval
if(NOT HAVE_SYS_TIME_H)
if(MSVC)
check_struct_member("struct timeval" tv_sec "Winsock2.h" HAVE_STRUCT_TIMEVAL_TV_SEC)
add_definitions(-DSTRUCT_TIMESPEC_DEFINITION_MISSING=1)
set(STRUCT_TIMESPEC_DEFINITION_MISSING 1)
endif(NOT HAVE_WINSOCK2_H_STRUCT_TIMESPEC_TV_SEC AND NOT HAVE_TIME_H_STRUCT_TIMESPEC_TV_SEC)
-
+
if(NOT HAVE_STRUCT_ITIMERSPEC_IT_VALUE)
add_definitions(-DSTRUCT_ITIMERSPEC_DEFINITION_MISSING=1)
set(STRUCT_ITIMERSPEC_DEFINITION_MISSING 1)
check_type_size("__int64" __INT64)
check_type_size("unsigned __int64" UNSIGNED___INT64)
-check_type_size(int16_t INT16_T)
+check_type_size(int16_t INT16_T)
check_type_size(int32_t INT32_T)
check_type_size(int64_t INT64_T)
check_type_size(intmax_t INTMAX_T)
-check_type_size(uint8_t UINT8_T)
-check_type_size(uint16_t UINT16_T)
-check_type_size(uint32_t UINT32_T)
+check_type_size(uint8_t UINT8_T)
+check_type_size(uint16_t UINT16_T)
+check_type_size(uint32_t UINT32_T)
check_type_size(uint64_t UINT64_T)
check_type_size(uintmax_t UINTMAX_T)