X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=op.h;h=7896b8fca7695cfd14cdc32a0cd418cb69a14b16;hb=fd7b6849d7cf47f2fe101ad9761adae57a573493;hp=64ed3e542f2343ecdfb204174929693a9310f9e5;hpb=8312154f7760b9a177c1bc9d98e634a9f7c4f1fc;p=p5sagit%2Fp5-mst-13.2.git diff --git a/op.h b/op.h index 64ed3e5..7896b8f 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