Author: Armin Rigo <[email protected]>
Branch:
Changeset: r90650:b28294dd298f
Date: 2017-03-13 16:56 +0100
http://bitbucket.org/pypy/pypy/changeset/b28294dd298f/
Log: include for InterlockedCompareExchange
diff --git a/pypy/module/cpyext/src/pymem.c b/pypy/module/cpyext/src/pymem.c
--- a/pypy/module/cpyext/src/pymem.c
+++ b/pypy/module/cpyext/src/pymem.c
@@ -1,5 +1,10 @@
#include <Python.h>
+#ifdef _WIN32
+# include <Windows.h>
+#endif
+
+
void * PyMem_Malloc(size_t n)
{
return malloc((n) ? (n) : 1);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit