summaryrefslogtreecommitdiff
path: root/external/python33/clang-cl.patch.0
diff options
context:
space:
mode:
Diffstat (limited to 'external/python33/clang-cl.patch.0')
-rwxr-xr-xexternal/python33/clang-cl.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/python33/clang-cl.patch.0 b/external/python33/clang-cl.patch.0
new file mode 100755
index 000000000000..68f1dcd84a95
--- /dev/null
+++ b/external/python33/clang-cl.patch.0
@@ -0,0 +1,11 @@
+--- Include/pyport.h
++++ Include/pyport.h
+@@ -219,7 +219,7 @@
+ /* Smallest negative value of type Py_ssize_t. */
+ #define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
+
+-#if SIZEOF_PID_T > SIZEOF_LONG
++#if defined SIZEOF_PID_T && SIZEOF_PID_T > SIZEOF_LONG
+ # error "Python doesn't support sizeof(pid_t) > sizeof(long)"
+ #endif
+