Change 31354 by [EMAIL PROTECTED] on 2007/06/08 08:36:05
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().)
Affected files ...
... //depot/perl/win32/win32.c#289 edit
Differences ...
==== //depot/perl/win32/win32.c#289 (text) ====
Index: perl/win32/win32.c
--- perl/win32/win32.c#288~31347~ 2007-06-07 04:48:47.000000000 -0700
+++ perl/win32/win32.c 2007-06-08 01:36:05.000000000 -0700
@@ -4844,19 +4844,6 @@
}
}
-
-#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 @@
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
End of Patch.