aboutsummaryrefslogtreecommitdiff
path: root/timezone/private.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-31 20:29:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-31 20:29:14 +0000
commiteb0ad54341779ff5c42aaa37dcea6eb9f4cb09ef (patch)
treeb85cdff4e24ab11391f1c7af7b73a6bd26da9294 /timezone/private.h
parent9316fb42247d3a58eef7069c7a3c986ec072777a (diff)
downloadglibc-eb0ad54341779ff5c42aaa37dcea6eb9f4cb09ef.tar
glibc-eb0ad54341779ff5c42aaa37dcea6eb9f4cb09ef.tar.gz
glibc-eb0ad54341779ff5c42aaa37dcea6eb9f4cb09ef.tar.bz2
glibc-eb0ad54341779ff5c42aaa37dcea6eb9f4cb09ef.zip
Update from tzcode2000e.
Diffstat (limited to 'timezone/private.h')
-rw-r--r--timezone/private.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/timezone/private.h b/timezone/private.h
index 75b3cb1831..d7e2548fad 100644
--- a/timezone/private.h
+++ b/timezone/private.h
@@ -21,7 +21,7 @@
#ifndef lint
#ifndef NOID
-static char privatehid[] = "@(#)private.h 7.49";
+static char privatehid[] = "@(#)private.h 7.51";
#endif /* !defined NOID */
#endif /* !defined lint */
@@ -38,12 +38,16 @@ static char privatehid[] = "@(#)private.h 7.49";
#define HAVE_GETTEXT 0
#endif /* !defined HAVE_GETTEXT */
+#ifndef HAVE_INCOMPATIBLE_CTIME_R
+#define HAVE_INCOMPATIBLE_CTIME_R 0
+#endif /* !defined INCOMPATIBLE_CTIME_R */
+
#ifndef HAVE_SETTIMEOFDAY
#define HAVE_SETTIMEOFDAY 3
#endif /* !defined HAVE_SETTIMEOFDAY */
#ifndef HAVE_STRERROR
-#define HAVE_STRERROR 0
+#define HAVE_STRERROR 1
#endif /* !defined HAVE_STRERROR */
#ifndef HAVE_SYMLINK
@@ -66,6 +70,11 @@ static char privatehid[] = "@(#)private.h 7.49";
#define LOCALE_HOME "/usr/lib/locale"
#endif /* !defined LOCALE_HOME */
+#if HAVE_INCOMPATIBLE_CTIME_R
+#define asctime_r _incompatible_asctime_r
+#define ctime_r _incompatible_ctime_r
+#endif /* HAVE_INCOMPATIBLE_CTIME_R */
+
/*
** Nested includes
*/
@@ -277,6 +286,13 @@ char * scheck P((const char *string, const char *format));
#define TZ_DOMAIN "tz"
#endif /* !defined TZ_DOMAIN */
+#if HAVE_INCOMPATIBLE_CTIME_R
+#undef asctime_r
+#undef ctime_r
+char *asctime_r P((struct tm const *, char *));
+char *ctime_r P((time_t const *, char *));
+#endif /* HAVE_INCOMPATIBLE_CTIME_R */
+
/*
** UNIX was a registered trademark of UNIX System Laboratories in 1993.
*/