Files
loongoffice/external/python33/clang-cl.patch.0
Tor Lillqvist c6ec65395c chmod -x
Change-Id: Ie07ef2f9e9f6d0b31b513afa913b79d9c641e4f1
2016-11-17 12:35:52 +02:00

12 lines
322 B
Plaintext

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