diff options
author | Arthur Bergman <arthur@contiller.se> | 2001-08-16 16:22:27 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-16 11:31:00 +0000 |
commit | d937ac94b886ab4cac8b6faa9cdcec6f03caeacb (patch) | |
tree | e06b4e421f6dd4efb62b50020d82afec6ed5a1f6 /op.h | |
parent | d0ade03610a296c4a2645a2e8ca75d290fd4d2e3 (diff) | |
download | perl-d937ac94b886ab4cac8b6faa9cdcec6f03caeacb.tar.gz |
*time_r fixes
Message-ID: <00b901c1264e$1cbe6970$21000a0a@vogw2kdev>
p4raw-id: //depot/perl@11690
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -464,7 +464,7 @@ struct loop { typedef struct { struct tm* tmbuff; } REBUF; -#define localtime(a) localtime_r(a,PL_reentrant_buffer->tmbuff) -#define gmtime(a) gmtime_r(a,PL_reentrant_buffer->tmbuff) +#define localtime(a) (localtime_r(a,PL_reentrant_buffer->tmbuff) && PL_reentrant_buffer->tmbuff) +#define gmtime(a) (gmtime_r(a,PL_reentrant_buffer->tmbuff) && PL_reentrant_buffer->tmbuff) #endif |