summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-01 03:45:13 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-01 03:45:13 +0000
commit638eceb6656bf10acb1a6dc2a55880f5e1a6c8c4 (patch)
tree35c02afc07b97e44b7d4abdf0b4829f850a890a3 /win32/win32.h
parent7766f1371a6d2b58d0f46fbe6a60785860a39c1e (diff)
downloadperl-638eceb6656bf10acb1a6dc2a55880f5e1a6c8c4.tar.gz
minor USE_ITHREADS tweaks
p4raw-id: //depot/perl@4603
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 856232ae84..28d582a270 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -9,6 +9,8 @@
#ifndef _INC_WIN32_PERL5
#define _INC_WIN32_PERL5
+#define _WIN32_WINNT 0x0400 /* needed for TryEnterCriticalSection() etc. */
+
#if defined(PERL_OBJECT) || defined(PERL_IMPLICIT_SYS) || defined(PERL_CAPI)
# define DYNAMIC_ENV_FETCH
# define ENV_HV_NAME "___ENV_HV_NAME___"