diff src/strftime.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 74fd4e045ea6
children 697ef44129c6
line wrap: on
line diff
--- a/src/strftime.c	Mon Aug 13 11:18:12 2007 +0200
+++ b/src/strftime.c	Mon Aug 13 11:19:21 2007 +0200
@@ -94,13 +94,13 @@
 time_t mktime ();
 #endif
 
-#if defined(WINDOWSNT) || defined(__CYGWIN32__)
+#if defined(WIN32_NATIVE) || defined(CYGWIN)
 #include <time.h>
 #else
 #if defined(HAVE_TZNAME)
 extern char *tzname[2];
 #endif
-#endif /* WINDOWSNT */
+#endif /* WIN32_NATIVE */
 
 #ifdef emacs
 #define strftime emacs_strftime
@@ -233,6 +233,7 @@
 }
 
 #if !defined(HAVE_TM_ZONE) && !defined(HAVE_TZNAME)
+char *zone_name (const struct tm *tp);
 char *
 zone_name (const struct tm *tp)
 {