diff options
author | Artur Bergman <sky@nanisky.com> | 2002-02-05 10:30:58 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2002-02-05 10:30:58 +0000 |
commit | 4f8ddd771cda27533f4680b572d765b063e03e11 (patch) | |
tree | e853c3dd28601693b7ad1674fc5c19024426804e /perl.h | |
parent | 6fecce66bf5da93daf0d8b2ef8093422a24df6a3 (diff) | |
download | perl-4f8ddd771cda27533f4680b572d765b063e03e11.tar.gz |
Enable building with threads under macosx, assume __APPLE__ means darwin and disable _r functions, since we don't have them.
p4raw-id: //depot/perl@14557
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); /* Use the reentrant APIs like localtime_r and getpwent_r */ /* Win32 has naturally threadsafe libraries, no need to use any _r variants. */ -#if defined(USE_ITHREADS) && !defined(USE_REENTRANT_API) && !defined(WIN32) +#if defined(USE_ITHREADS) && !defined(USE_REENTRANT_API) && !defined(WIN32) && !defined(__APPLE__) # define USE_REENTRANT_API #endif |