From: Gurusamy Sarathy Date: Fri, 28 Nov 1997 05:48:15 +0000 (+0000) Subject: [win32] integrate winansi. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b6d9d5156d687f3cae117a057e9a67f4b5b33dc5;p=p5sagit%2Fp5-mst-13.2.git [win32] integrate winansi. p4raw-id: //depot/win32/perl@328 --- b6d9d5156d687f3cae117a057e9a67f4b5b33dc5 diff --cc perl.h index e68ecf6,150a9d8..a13fabf --- a/perl.h +++ b/perl.h @@@ -1359,6 -1359,6 +1359,14 @@@ typedef Sighandler_t Sigsave_t # define MALLOC_TERM #endif ++#ifdef MYMALLOC ++# define MALLOC_INIT MUTEX_INIT(&malloc_mutex) ++# define MALLOC_TERM MUTEX_DESTROY(&malloc_mutex) ++#else ++# define MALLOC_INIT ++# define MALLOC_TERM ++#endif ++ /* * These need prototyping here because isn't * included until after runops is initialised.