diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-28 22:39:39 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-28 22:39:39 +0000 |
commit | 5b0d9cbecfd90628c0e955ee142f05f9b60bcf43 (patch) | |
tree | af50799266dd7553b6090aa7116baf1118b5c659 /win32/runperl.c | |
parent | 04dc04aa73cc58d998c1f2e8d4c3f8576eee7e49 (diff) | |
download | perl-5b0d9cbecfd90628c0e955ee142f05f9b60bcf43.tar.gz |
Builds completely with Mingw32, dynamic loaded extensions
don't work yet - suspect __declspec() non-implemented issues.
p4raw-id: //depot/ansiperl@329
Diffstat (limited to 'win32/runperl.c')
-rw-r--r-- | win32/runperl.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/win32/runperl.c b/win32/runperl.c index ff0a5718ee..954460739f 100644 --- a/win32/runperl.c +++ b/win32/runperl.c @@ -1,8 +1,20 @@ /* Say NO to CPP! Hallelujah! */ #ifdef __GNUC__ +/* + * GNU C does not do __declspec() + */ #define __declspec(foo) + +/* Mingw32 defaults to globing command line + * This is inconsistent with other Win32 ports and + * seems to cause trouble with passing -DXSVERSION=\"1.6\" + * So we turn it off like this: + */ +int _CRT_glob = 0; + #endif + __declspec(dllimport) int RunPerl(int argc, char **argv, char **env, void *ios); int |