MiKTeX/miktex
CMakeLists.txt
:1431
check_struct_has_member("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
check_struct_has_member("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
CHECK_C_SOURCE_COMPILES("#include <time.h>
int main(void) { struct tm tm; tm.tm_gmtoff = 1; return 0; }" HAVE_TM_GMTOFF)
endif((NOT HAVE_TM_GMTOFF) AND (NOT HAVE_TIMEZONE))
foreach (time_test
HAVE_TM_GMTOFF
HAVE___TM_GMTOFF
# HAVE_TIMEZONE
HAVE_STRUCT_TIMEZONE
GETTIMEOFDAY_GIVES_TZ
TIME_WITH_SYS_TIME
HAVE_TM_ZONE
HAVE_STRUCT_TM_TM_ZONE
)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER ("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
check_c_source_compiles("
#include <time.h>
int main(void) {
struct tm t;
(void)t.tm_gmtoff;
return 0;
}
" HAVE_TM_GMTOFF)
CHECK_STRUCT_HAS_MEMBER("struct tm"
tm_gmtoff "time.h" HAVE_TM_GMTOFF)
foreach (test
HAVE_TM_GMTOFF
HAVE___TM_GMTOFF
# HAVE_TIMEZONE
HAVE_STRUCT_TIMEZONE
GETTIMEOFDAY_GIVES_TZ
TIME_WITH_SYS_TIME
HAVE_TM_ZONE
HAVE_STRUCT_TM_TM_ZONE
)