diff options
Diffstat (limited to 'win32/config_h.PL')
-rw-r--r-- | win32/config_h.PL | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/config_h.PL b/win32/config_h.PL index d266f6557f..98b474a144 100644 --- a/win32/config_h.PL +++ b/win32/config_h.PL @@ -35,14 +35,16 @@ while (<SH>) munge(); s/\\\$/\$/g; s#/[ *\*]*\*/#/**/#; - if (/#define\s+ARCHLIBEXP/) + if (/^\s*#define\s+ARCHLIB_EXP/) { + $_ = "#define ARCHLIB_EXP (win32PerlLibPath())\t/**/\n"; } print H; } print H "#include <win32.h> -#define ARCHLIBEXP (win32PerlLibPath()) +#ifndef DEBUGGING #define DEBUGGING +#endif "; close(H); close(SH); |