summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorHans Mulder <hansmu@xs4all.nl>1998-11-08 23:20:23 +0100
committerJarkko Hietaniemi <jhi@iki.fi>1998-11-09 07:45:12 +0000
commit772fe5b34da07b398a960329cf97602adf8d6a4a (patch)
treefd394a9b257f370d24bc944231a471b56946e6e7 /perl.h
parent3541dd58afee4802e6d8771e6ed02e20cc107e31 (diff)
downloadperl-772fe5b34da07b398a960329cf97602adf8d6a4a.tar.gz
Re: [PATCH] Re: Not OK: perl 5.00553 on OPENSTEP-Mach 4_1
To: Ilya Zakharevich <ilya@math.ohio-state.edu> Cc: gsar@engin.umich.edu (Gurusamy Sarathy), jhi@iki.fi, perl5-porters@perl.org (UNINSTALLED) Message-Id: <9811082119.AA11802@icgned.icgroup.nl> p4raw-id: //depot/cfgperl@2225
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index ba898c49e2..825f304e32 100644
--- a/perl.h
+++ b/perl.h
@@ -1372,6 +1372,9 @@ typedef I32 (*filter_t) _((int, SV *, int));
# else
# ifdef I_MACH_CTHREADS
# include <mach/cthreads.h>
+# ifdef NeXT
+# define MUTEX_INIT_CALLS_MALLOC
+# endif
typedef cthread_t perl_os_thread;
typedef mutex_t perl_mutex;
typedef condition_t perl_cond;
@@ -1816,7 +1819,7 @@ typedef Sighandler_t Sigsave_t;
#endif
#ifdef MYMALLOC
-# ifdef I_MACH_CTHREADS
+# ifdef MUTEX_INIT_CALLS_MALLOC
# define MALLOC_INIT \
STMT_START { \
PL_malloc_mutex = NULL; \