summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-10-12 18:47:49 +0000
committerArtur Bergman <sky@nanisky.com>2001-10-12 18:47:49 +0000
commitc769dab1330c7d1180df42fa9bea6c7173b1d743 (patch)
tree2c842d36b4276cb4235f7aa78703661e63032ec7 /op.h
parentee15d750d0fc6440f96c67c89ec14cd068bb13c5 (diff)
downloadperl-c769dab1330c7d1180df42fa9bea6c7173b1d743.tar.gz
Perhaps other OLD_POSIX_API systems might be happy and not only HP-UX 10.20
p4raw-id: //depot/perl@12414
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index 64ed3e542f..7896b8fca7 100644
--- a/op.h
+++ b/op.h
@@ -469,7 +469,7 @@ typedef struct {
#define localtime(a) (localtime_r((a),PL_reentrant_buffer->tmbuff) ? PL_reentrant_buffer->tmbuff : NULL)
#define gmtime(a) (gmtime_r((a),PL_reentrant_buffer->tmbuff) ? PL_reentrant_buffer->tmbuff : NULL)
-#if defined(__hpux) && defined(__ux_version) && __ux_version <= 1020
+#ifdef OLD_PTHREADS_API
/* HP-UX 10.20 returns 0 on success, what it returns on failure is hidden
in the fog somewhere, possibly -1 which means the following should do