diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-28 12:41:55 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-28 12:41:55 +0000 |
commit | 64f996d11396e48ec2347b5997a70034d1ca0a38 (patch) | |
tree | 22b43366afa5a98bcf987249d209f5ab406b97d4 /malloc.c | |
parent | 4bfbfac5c6d9a0ecc663cdd23fe31fc59ee7bab3 (diff) | |
download | perl-64f996d11396e48ec2347b5997a70034d1ca0a38.tar.gz |
fix MALLOC_LOCK #define
p4raw-id: //depot/perl@2341
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -141,8 +141,8 @@ warn(format, arg) fprintf(stderr, idem) # Locking/unlocking for MT operation - MALLOC_LOCK MUTEX_LOCK(PL_malloc_mutex) - MALLOC_UNLOCK MUTEX_UNLOCK(PL_malloc_mutex) + MALLOC_LOCK MUTEX_LOCK(&PL_malloc_mutex) + MALLOC_UNLOCK MUTEX_UNLOCK(&PL_malloc_mutex) # Locking/unlocking mutex for MT operation MUTEX_LOCK(l) void @@ -278,11 +278,11 @@ #endif #ifndef MALLOC_LOCK -# define MALLOC_LOCK MUTEX_LOCK(PL_malloc_mutex) +# define MALLOC_LOCK MUTEX_LOCK(&PL_malloc_mutex) #endif #ifndef MALLOC_UNLOCK -# define MALLOC_UNLOCK MUTEX_UNLOCK(PL_malloc_mutex) +# define MALLOC_UNLOCK MUTEX_UNLOCK(&PL_malloc_mutex) #endif #ifdef DEBUGGING |