summaryrefslogtreecommitdiff
path: root/win32/perllib.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-02 19:40:44 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-02 19:40:44 +0000
commitf8fb7c905b2ebbea240082c064c2444b482a14f7 (patch)
tree2d0858816a7d4cee9d80e4431cc07be6e528da18 /win32/perllib.c
parent0da1743ca62caf8fa1145a4f68e1aa6df56ea774 (diff)
downloadperl-f8fb7c905b2ebbea240082c064c2444b482a14f7.tar.gz
patch to fix mingw32 build under USE_IMP_SYS (from Benjamin Stuhl);
some parts not applied p4raw-id: //depot/perl@5445
Diffstat (limited to 'win32/perllib.c')
-rw-r--r--win32/perllib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/perllib.c b/win32/perllib.c
index 2a0cb85c92..f240e2f0c0 100644
--- a/win32/perllib.c
+++ b/win32/perllib.c
@@ -337,6 +337,9 @@ RunPerl(int argc, char **argv, char **env)
EXTERN_C void
set_w32_module_name(void);
+#ifdef __MINGW32__
+EXTERN_C /* GCC in C++ mode mangles the name, otherwise */
+#endif
BOOL APIENTRY
DllMain(HANDLE hModule, /* DLL module handle */
DWORD fdwReason, /* reason called */