summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2002-09-05 12:09:57 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2002-09-05 12:09:57 +0000
commit96a4626b6821a47c183bca8cb174bf1f61fc8b1b (patch)
treec499509025e750424167d58b7308c0cd79a4511b
parent3e867bfdb12cb66c1ff3280966994db55eb731bb (diff)
downloadphp-git-96a4626b6821a47c183bca8cb174bf1f61fc8b1b.tar.gz
NetWare related additions/modifications
-rw-r--r--ext/standard/datetime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c
index b3673707c2..ac88e743d0 100644
--- a/ext/standard/datetime.c
+++ b/ext/standard/datetime.c
@@ -55,6 +55,9 @@ char *day_short_names[] =
};
#if !defined(HAVE_TM_ZONE) && !defined(_TIMEZONE) && !defined(HAVE_DECLARED_TIMEZONE)
+#if defined(NETWARE) && defined(NEW_LIBC)
+#define timezone _timezone /* timezone is called '_timezone' in new version of LibC */
+#endif
extern time_t timezone;
extern int daylight;
#endif