fix: add missing gmtime_r check (#1013)
909069ea82 introduced optional gmtime_r
support but did implement the function's availability check.
This commit is contained in:
parent
93549f3600
commit
d29d02e8af
@ -313,6 +313,7 @@ endif (WITH_SYMBOLIZE)
|
||||
# building the library.
|
||||
add_compile_definitions (GLOG_NO_SYMBOLIZE_DETECTION)
|
||||
|
||||
check_cxx_symbol_exists (gmtime_r "cstdlib;ctime" HAVE_GMTIME_R)
|
||||
check_cxx_symbol_exists (localtime_r "cstdlib;ctime" HAVE_LOCALTIME_R)
|
||||
|
||||
set (SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user