Bugzilla: 55268. BeOS

git-svn-id: svn://10.0.0.236/trunk@80519 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
larryh%netscape.com
2000-10-05 23:15:45 +00:00
parent 8ff433f882
commit 842df40d2d

View File

@@ -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;