mirror of https://github.com/python/cpython
Fixed compile error on windows.
This commit is contained in:
parent
6f0e8353af
commit
c53306c217
|
@ -16,6 +16,9 @@
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
# include <process.h> /* getpid() */
|
# include <process.h> /* getpid() */
|
||||||
|
# ifdef Py_DEBUG
|
||||||
|
# include <crtdbg.h>
|
||||||
|
# endif
|
||||||
# define SEM_HANDLE HANDLE
|
# define SEM_HANDLE HANDLE
|
||||||
# define SEM_VALUE_MAX LONG_MAX
|
# define SEM_VALUE_MAX LONG_MAX
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue