summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-04-01 20:51:28 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-04-01 20:51:28 (GMT)
commit4b413d320d3d7fddb4cf7554e81ac2ec8c75eb30 (patch)
treeb97ca9c4981fad48563fda79f214adeda91ff685 /Modules
parent16248a49b91f4a797a4decb0778657b72dd5ab20 (diff)
downloadcpython-4b413d320d3d7fddb4cf7554e81ac2ec8c75eb30.zip
cpython-4b413d320d3d7fddb4cf7554e81ac2ec8c75eb30.tar.gz
cpython-4b413d320d3d7fddb4cf7554e81ac2ec8c75eb30.tar.bz2
Merged revisions 70953 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70953 | hirokazu.yamamoto | 2009-04-01 10:13:52 -0500 (Wed, 01 Apr 2009) | 1 line Fixed compile error on windows. ........
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_multiprocessing/multiprocessing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h
index 2bfad87..4f4f9d7 100644
--- a/Modules/_multiprocessing/multiprocessing.h
+++ b/Modules/_multiprocessing/multiprocessing.h
@@ -16,6 +16,9 @@
# include <windows.h>
# include <winsock2.h>
# include <process.h> /* getpid() */
+# ifdef Py_DEBUG
+# include <crtdbg.h>
+# endif
# define SEM_HANDLE HANDLE
# define SEM_VALUE_MAX LONG_MAX
#else