summaryrefslogtreecommitdiff
path: root/ext/Win32CORE
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2012-07-20 12:37:53 -0400
committerJan Dubois <jand@activestate.com>2012-07-30 16:18:11 -0700
commit2e94d7323a4c0ec3134a8d5916645ca41e8bfe00 (patch)
tree337cd0650a6e3b1c8f0ff831878cf049dbe41032 /ext/Win32CORE
parent50e8e1f58c8f44de664c58d031a1fcc6880830c1 (diff)
downloadperl-2e94d7323a4c0ec3134a8d5916645ca41e8bfe00.tar.gz
Add PERL_NO_GET_CONTEXT to Win32CORE
Win32CORE is already ithreads aware, but was still making Perl_get_context calls. This fixes that. Smaller machine code is the result.
Diffstat (limited to 'ext/Win32CORE')
-rw-r--r--ext/Win32CORE/Win32CORE.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/Win32CORE/Win32CORE.c b/ext/Win32CORE/Win32CORE.c
index fba6f555f0..943ca8610d 100644
--- a/ext/Win32CORE/Win32CORE.c
+++ b/ext/Win32CORE/Win32CORE.c
@@ -13,6 +13,7 @@
#if defined(__CYGWIN__) && !defined(USEIMPORTLIB)
#undef WIN32
#endif
+#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#if defined(__CYGWIN__) && !defined(USEIMPORTLIB)
#define EXTCONST extern const