diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-28 05:48:15 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-28 05:48:15 +0000 |
commit | b6d9d5156d687f3cae117a057e9a67f4b5b33dc5 (patch) | |
tree | 85ee7e6dff44601244ca95023b73522c4cb6233e /perl.h | |
parent | 712aa696cc63ef55016853d58e310d9a28940eda (diff) | |
parent | 04dc04aa73cc58d998c1f2e8d4c3f8576eee7e49 (diff) | |
download | perl-b6d9d5156d687f3cae117a057e9a67f4b5b33dc5.tar.gz |
[win32] integrate winansi.
p4raw-id: //depot/win32/perl@328
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 <proto.h> isn't * included until after runops is initialised. @@ -2007,6 +2015,17 @@ END_EXTERN_C /* The following must follow proto.h */ +#if defined(HASATTRIBUTE) && defined(WIN32) +/* + * This provides a layer of functions and macros to ensure extensions will + * get to use the same RTL functions as the core. + * It has to go here or #define of printf messes up __attribute__ + * stuff in proto.h + */ +# include <win32iop.h> +#endif /* WIN32 */ + + #ifdef DOINIT EXT MGVTBL vtbl_sv = {magic_get, |