diff options
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake index 5b8bc3688c7..896226de954 100644 --- a/configure.cmake +++ b/configure.cmake @@ -1107,7 +1107,7 @@ CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_sec "time.h" STRUCT_TIMESPEC_HAS_TV CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_nsec "time.h" STRUCT_TIMESPEC_HAS_TV_NSEC) IF(NOT MSVC) - CHECK_C_SOURCE_RUNS( + CHECK_C_SOURCE_COMPILES( " #define _GNU_SOURCE #include <fcntl.h> |