Fixed compile error on windows.

This commit is contained in:
Hirokazu Yamamoto 2009-04-01 15:13:52 +00:00
parent 6f0e8353af
commit c53306c217
1 changed files with 3 additions and 0 deletions

View File

@ -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