p4raw-id: //depot/perl@16461
*/
}
-#ifdef MULTIPLICITY
-
-PerlInterpreter *
+void *
win32_signal_context(void)
{
dTHX;
+#ifdef MULTIPLICITY
if (!my_perl) {
my_perl = PL_curinterp;
PERL_SET_THX(my_perl);
}
return my_perl;
+#else
+ return aTHX;
+#endif
}
-#endif
BOOL WINAPI
win32_ctrlhandler(DWORD dwCtrlType)
if (!my_perl)
return FALSE;
+#else
+#ifdef USE_5005THREADS
+ dTHX;
+#endif
#endif
switch(dwCtrlType) {
#define EAFNOSUPPORT WSAEAFNOSUPPORT
#endif
-DllExport PerlInterpreter *win32_signal_context(void);
+DllExport void *win32_signal_context(void);
#define PERL_GET_SIG_CONTEXT win32_signal_context()
#endif /* _INC_WIN32_PERL5 */