From 842df40d2dcf3e89cdc175c0b5bb25e8b103469a Mon Sep 17 00:00:00 2001 From: "larryh%netscape.com" Date: Thu, 5 Oct 2000 23:15:45 +0000 Subject: [PATCH] Bugzilla: 55268. BeOS git-svn-id: svn://10.0.0.236/trunk@80519 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/src/misc/prtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/nsprpub/pr/src/misc/prtime.c b/mozilla/nsprpub/pr/src/misc/prtime.c index 410a014402c..33df013f9d5 100644 --- a/mozilla/nsprpub/pr/src/misc/prtime.c +++ b/mozilla/nsprpub/pr/src/misc/prtime.c @@ -1665,7 +1665,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;