Re: [PATCH] change #undef to #define 0 for 2 macros
Alexander Strasser <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Stephen! On 2016-07-23 12:50 -0700, Stephen Sheldon wrote: > I see a lot of warnings for HAVE_LOCALTIME_R and HAVE_GMTIME_R when I > compile mplayer for windows. The attached patch makes them go away. The > macros are only used in libavutil/time_internal.h. Patch committed. Thank you, Alexander > Index: configure > =================================================================== > --- configure (revision 37880) > +++ configure (working copy) > @@ -3490,7 +3490,7 @@ > 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 @@ > 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" > _______________________________________________ MPlayer-dev-eng mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAleWitQACgkQp9ile6h25Y/v7ACghglh3gWdOBOdJNrdqFYWzwA9 XoEAoKvIuywl+htGduLvWgXLsdoYLApx =GeoX -----END PGP SIGNATURE-----