]> granicus.if.org Git - python/commitdiff
Merged revisions 70953 via svnmerge from
authorJesse Noller <jnoller@gmail.com>
Wed, 1 Apr 2009 20:51:28 +0000 (20:51 +0000)
committerJesse Noller <jnoller@gmail.com>
Wed, 1 Apr 2009 20:51:28 +0000 (20:51 +0000)
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.
........

Modules/_multiprocessing/multiprocessing.h

index 2bfad87501784242287070e23fa815d2ac13f017..4f4f9d735e71ac9fff79a26d5d7e285a8e6dc70c 100644 (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