X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fstrftime.c;h=d35f8eb711286fa5fd4d4ef14346035e9410c75b;hb=f0e0a4c7571df85198f5dab18d97dcb71f2971a5;hp=38766172aeebc044fd54e50f3d7ef36554e67986;hpb=3e447015251ce6dcde843cbed10d9033d5538622;p=chise%2Fxemacs-chise.git.1 diff --git a/src/strftime.c b/src/strftime.c index 3876617..d35f8eb 100644 --- a/src/strftime.c +++ b/src/strftime.c @@ -94,13 +94,13 @@ time_t mktime (); #endif -#if defined(WINDOWSNT) || defined(__CYGWIN32__) +#if defined(WIN32_NATIVE) || defined(CYGWIN) #include #else #if defined(HAVE_TZNAME) extern char *tzname[2]; #endif -#endif /* WINDOWSNT */ +#endif /* WIN32_NATIVE */ #ifdef emacs #define strftime emacs_strftime @@ -193,7 +193,7 @@ add_num_time_t (char *string, int max, time_t num) int length; if (sizeof (num) > 16) - abort (); + ABORT (); sprintf (buf, "%lu", (unsigned long) num); length = add_str (string, buf, max); return length; @@ -233,6 +233,7 @@ mon_week (const struct tm *tm) } #if !defined(HAVE_TM_ZONE) && !defined(HAVE_TZNAME) +char *zone_name (const struct tm *tp); char * zone_name (const struct tm *tp) {