projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(IU+212AE): Unify GT-K04297.
[chise/xemacs-chise.git.1]
/
src
/
strftime.c
diff --git
a/src/strftime.c
b/src/strftime.c
index
3876617
..
d35f8eb
100644
(file)
--- a/
src/strftime.c
+++ b/
src/strftime.c
@@
-94,13
+94,13
@@
time_t mktime ();
#endif
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
#include <time.h>
#else
#if defined(HAVE_TZNAME)
extern char *tzname[2];
#endif
-#endif /* WINDOWSNT */
+#endif /* WIN32_NATIVE */
#ifdef emacs
#define strftime emacs_strftime
#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)
int length;
if (sizeof (num) > 16)
- abort ();
+ ABORT ();
sprintf (buf, "%lu", (unsigned long) num);
length = add_str (string, buf, max);
return length;
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)
}
#if !defined(HAVE_TM_ZONE) && !defined(HAVE_TZNAME)
+char *zone_name (const struct tm *tp);
char *
zone_name (const struct tm *tp)
{
char *
zone_name (const struct tm *tp)
{