1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

define GMTIME_R to 0 if not working

This commit is contained in:
Daniel Stenberg 2005-05-16 14:53:48 +00:00
parent 3f16d9fbc9
commit aaace2e802

View File

@ -1321,6 +1321,7 @@ if test x$cross_compiling != xyes; then
dnl failure, now disable the function
AC_MSG_RESULT(no)
ac_cv_func_gmtime_r="no"
AC_DEFINE(HAVE_GMTIME_R, 0, [if you have gmtime_r])
,
dnl not invoked when crosscompiling)
])