diff options
author | Steve Hay <SteveHay@planit.com> | 2007-06-08 08:36:05 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2007-06-08 08:36:05 +0000 |
commit | a33ef3f0a6d2ef2c922989e71af9ce07d6f2d25d (patch) | |
tree | 12413c3e041485cfbe71191c66c61a18b73a7b88 /win32/win32.c | |
parent | 749e08decbb0ecbc963b25f37cc2fc6431a1ad47 (diff) | |
download | perl-a33ef3f0a6d2ef2c922989e71af9ce07d6f2d25d.tar.gz |
Move win32_create_message_window() out of #ifdef HAVE_INTERP_INTERN
section, where it didn't belong. (That section should (currently)
only contain sys_intern_init(), sys_intern_clear() and
sys_intern_dup() and related functionality such as
win32_csighandler().)
p4raw-id: //depot/perl@31354
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/win32/win32.c b/win32/win32.c index 1c6c17e4c8..a1c0d46db6 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -4844,19 +4844,6 @@ win32_signal(int sig, Sighandler_t subcode) } } - -#ifdef HAVE_INTERP_INTERN - -static void -win32_csighandler(int sig) -{ -#if 0 - dTHXa(PERL_GET_SIG_CONTEXT); - Perl_warn(aTHX_ "Got signal %d",sig); -#endif - /* Does nothing */ -} - HWND win32_create_message_window() { @@ -4874,6 +4861,18 @@ win32_create_message_window() return CreateWindow("Static", "", 0, 0, 0, 0, 0, HWND_MESSAGE, 0, 0, NULL); } +#ifdef HAVE_INTERP_INTERN + +static void +win32_csighandler(int sig) +{ +#if 0 + dTHXa(PERL_GET_SIG_CONTEXT); + Perl_warn(aTHX_ "Got signal %d",sig); +#endif + /* Does nothing */ +} + #if defined(__MINGW32__) && defined(__cplusplus) #define CAST_HWND__(x) (HWND__*)(x) #else |