Commit aaace2e8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

define GMTIME_R to 0 if not working

parent 3f16d9fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
])