]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Work around gnulib+mingw problem.
authorSimon Josefsson <simon@josefsson.org>
Mon, 17 Nov 2008 12:25:58 +0000 (13:25 +0100)
committerSimon Josefsson <simon@josefsson.org>
Mon, 17 Nov 2008 12:25:58 +0000 (13:25 +0100)
src/common.c

index cc50888154f27b049ead52aa23cf72e49652611b..1edfe3356de546fa5380a66cb8af5c6809620941 100644 (file)
  */
 
 #include <config.h>
+
+/* Work around problem reported in
+   <http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/15755>.*/
+#if GETTIMEOFDAY_CLOBBERS_LOCALTIME
+#undef localtime
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>