From: Vadim Konovalov Date: Fri, 24 May 2002 19:18:24 +0000 (+0400) Subject: [patch] small change X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=993c6a5984241b7e94102ce508f612e2447d0a28;p=p5sagit%2Fp5-mst-13.2.git [patch] small change From: "Konovalov, Vadim" Message-ID: <845FCFF2D4C0FC468B485E8777C7A00C07D69E@cio-test001.spb.lucent.com> p4raw-id: //depot/perl@16767 --- diff --git a/perl.h b/perl.h index 45adfbb..09be747 100644 --- a/perl.h +++ b/perl.h @@ -485,12 +485,14 @@ int usleep(unsigned int); # else # define EMBEDMYMALLOC /* for compatibility */ # endif +START_EXTERN_C Malloc_t Perl_malloc (MEM_SIZE nbytes); Malloc_t Perl_calloc (MEM_SIZE elements, MEM_SIZE size); Malloc_t Perl_realloc (Malloc_t where, MEM_SIZE nbytes); /* 'mfree' rather than 'free', since there is already a 'perl_free' * that causes clashes with case-insensitive linkers */ Free_t Perl_mfree (Malloc_t where); +END_EXTERN_C typedef struct perl_mstats perl_mstats_t; diff --git a/win32/makefile.mk b/win32/makefile.mk index 1eb7613..f3f3d0f 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -242,10 +242,6 @@ USE_5005THREADS *= undef USE_ITHREADS != undef .ENDIF -.IF "$(USE_IMP_SYS)" == "define" -PERL_MALLOC != undef -.ENDIF - USE_MULTI *= undef USE_ITHREADS *= undef USE_IMP_SYS *= undef