8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00

Add check for ctime_r to CMake

This is required to fix building using CMake under Linux since
7a1f070d28.
This commit is contained in:
Vadim Zeitlin 2017-11-16 15:13:34 +01:00 committed by Adriano dos Santos Fernandes
parent 36e82387e4
commit 5b0cc954aa
2 changed files with 4 additions and 0 deletions

View File

@ -200,6 +200,7 @@ set(functions_list
accept4
AO_compare_and_swap_full
clock_gettime
ctime_r
dirname
fallocate
fchmod

View File

@ -403,6 +403,9 @@
/* Define to 1 if you have the `clock_gettime' function. */
#cmakedefine HAVE_CLOCK_GETTIME 1
/* Define to 1 if you have the `ctime_r' function. */
#cmakedefine HAVE_CTIME_R 1
/* Define to 1 if you have the `dirname' function. */
#cmakedefine HAVE_DIRNAME 1