diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-04-01 15:13:52 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-04-01 15:13:52 (GMT) |
commit | c53306c21734e90a6bf2f6676eb9f0c9486548a4 (patch) | |
tree | c74c777e14cb0e263338435acc5ab83e82e14807 /Modules/_multiprocessing | |
parent | 6f0e8353af894857732ed935cf3bfd9d2beda2a1 (diff) | |
download | cpython-c53306c21734e90a6bf2f6676eb9f0c9486548a4.zip cpython-c53306c21734e90a6bf2f6676eb9f0c9486548a4.tar.gz cpython-c53306c21734e90a6bf2f6676eb9f0c9486548a4.tar.bz2 |
Fixed compile error on windows.
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.h | 3 |
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 |