[MPlayer-cvslog] r37881 - trunk/configure

al subversion at mplayerhq.hu
Tue Jul 26 00:31:21 EEST 2016


Author: al
Date: Tue Jul 26 00:31:21 2016
New Revision: 37881

Log:
configure: HAVE_LOCALTIME_R, HAVE_GMTIME_R: Use #define ... 0

Those are used by FFmpeg and expected to always be defined (0 or 1).

The #undef was an oversight of commit r37313 .


Patch by Stephen Sheldon (sfsheldo gmail)

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Jul 22 00:54:11 2016	(r37880)
+++ trunk/configure	Tue Jul 26 00:31:21 2016	(r37881)
@@ -3490,7 +3490,7 @@ statement_check time.h 'gmtime_r(0, 0)'
 if test "$_gmtime_r" = yes ; then
   def_gmtime_r='#define HAVE_GMTIME_R 1'
 else
-  def_gmtime_r='#undef HAVE_GMTIME_R'
+  def_gmtime_r='#define HAVE_GMTIME_R 0'
 fi
 echores "$_gmtime_r"
 
@@ -3500,7 +3500,7 @@ statement_check time.h 'localtime_r(0, 0
 if test "$_localtime_r" = yes ; then
   def_localtime_r='#define HAVE_LOCALTIME_R 1'
 else
-  def_localtime_r='#undef HAVE_LOCALTIME_R'
+  def_localtime_r='#define HAVE_LOCALTIME_R 0'
 fi
 echores "$_localtime_r"
 


More information about the MPlayer-cvslog mailing list