diff options
author | danda <devnull@localhost> | 1998-05-05 20:44:48 +0000 |
---|---|---|
committer | danda <devnull@localhost> | 1998-05-05 20:44:48 +0000 |
commit | 225cf9c207cc4fdcc2da5aca7d3ee8c3688fb30c (patch) | |
tree | 468cda08a55860259798a16a0611ef5210e60be2 | |
parent | 92b8e752b937de61b2c1a691d2420fb3dddfc9bb (diff) | |
download | nspr-hg-225cf9c207cc4fdcc2da5aca7d3ee8c3688fb30c.tar.gz |
Fix for MT_safe_localtime() using the OS/2 EMX compiler.
Submitted by John Fairhurst.
CVS:
CVS:
-rw-r--r-- | pr/src/misc/prtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/misc/prtime.c b/pr/src/misc/prtime.c index bfe36088..20381ee2 100644 --- a/pr/src/misc/prtime.c +++ b/pr/src/misc/prtime.c @@ -577,7 +577,7 @@ static struct tm *MT_safe_localtime(const time_t *clock, struct tm *result) tmPtr = localtime(clock); #endif -#if defined(WIN16) +#if defined(WIN16) || defined(XP_OS2_EMX) if ( (PRInt32) *clock < 0 ) result = NULL; else |