mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Check for timegm and set a config variable accordingly.
This commit is contained in:
parent
bede1acbce
commit
6d126f3956
2 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,7 @@ if(WIN32)
|
|||
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} psapi kernel32)
|
||||
endif()
|
||||
|
||||
check_function_exists(timegm HAVE_TIMEGM)
|
||||
check_function_exists(strerror_r HAVE_STRERROR_R)
|
||||
check_function_exists(utimes HAVE_UTIMES)
|
||||
check_function_exists(lstat HAVE_LSTAT)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#cmakedefine HAVE_ARGP_H 1
|
||||
|
||||
#cmakedefine HAVE_TIMEGM 1
|
||||
#cmakedefine HAVE_STRERROR_R 1
|
||||
#cmakedefine HAVE_UTIMES 1
|
||||
#cmakedefine HAVE_LSTAT 1
|
||||
|
|
Loading…
Reference in a new issue