CMake fixes for Linux

This commit is contained in:
James Turner
2020-08-22 22:11:42 +01:00
parent 720a1fe7d2
commit 2ed15eebfd
4 changed files with 13 additions and 13 deletions

View File

@@ -4,6 +4,11 @@ check_function_exists(mkdtemp HAVE_MKDTEMP)
check_function_exists(bcopy HAVE_BCOPY)
check_function_exists(mmap HAVE_MMAP)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file(sys/time.h HAVE_SYS_TIME_H)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file(windows.h HAVE_WINDOWS_H)
if (NOT MSVC)
check_function_exists(timegm HAVE_TIMEGM)
if (NOT HAVE_TIMEGM)