diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-27 17:46:30 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-27 17:46:30 +0000 |
commit | a835ef8a5ef2441baebe4910667c49a7be441c88 (patch) | |
tree | 16ffce3090d1f147fe5cc67a52c0eae38c037e1b /perl.h | |
parent | c6af95f61decbba4d08b75e0ff2fadd33009bd72 (diff) | |
download | perl-a835ef8a5ef2441baebe4910667c49a7be441c88.tar.gz |
Add files and tweak others to get 'native' Mingw32 gcc port as
far as building miniperl and perl.dll (but not import lib yet)
Seems to lack popen()/pclose() and fcloseall() and fflushall().
Also only CRTDLL not MCRTDLL so threading is probably not
possible yet.
Had to mess with win32iop.h's placement as we need __attribute__
to get STDCALL, and #define of printf messes up proto.h
p4raw-id: //depot/ansiperl@325
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2007,6 +2007,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, |