summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-10-10 04:52:51 +0000
committerwtc%netscape.com <devnull@localhost>2000-10-10 04:52:51 +0000
commit4e443117f2cc1fc7ab1ca341edbcbd727dc81cfc (patch)
tree81870b168c80b1f4632b445732868490cb14f9fc
parentc2d06c7759a5205f260f1c88ea5e6d50b81f6767 (diff)
downloadnspr-hg-4e443117f2cc1fc7ab1ca341edbcbd727dc81cfc.tar.gz
Bugzilla: 55268. BeOS
(NSPRPUB_CLIENT_BRANCH)
-rw-r--r--pr/src/misc/prtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/misc/prtime.c b/pr/src/misc/prtime.c
index b5cbb6cf..9c4a5944 100644
--- a/pr/src/misc/prtime.c
+++ b/pr/src/misc/prtime.c
@@ -1649,7 +1649,7 @@ PR_FormatTime(char *buf, int buflen, const char *fmt, const PRExplodedTime *tm)
* values for these two fields.
*/
-#if defined(SUNOS4) || (__GLIBC__ >= 2)
+#if defined(SUNOS4) || (__GLIBC__ >= 2) || defined(XP_BEOS)
if (mktime(&a) == -1) {
PR_snprintf(buf, buflen, "can't get timezone");
return 0;