Author: Armin Rigo <[email protected]>
Branch: static-callback-embedding
Changeset: r2522:4fa3895afca1
Date: 2016-01-03 13:23 +0100
http://bitbucket.org/cffi/cffi/changeset/4fa3895afca1/
Log: windows fix
diff --git a/cffi/_embedding.h b/cffi/_embedding.h
--- a/cffi/_embedding.h
+++ b/cffi/_embedding.h
@@ -43,6 +43,7 @@
# endif
#else
/* --- Windows threads version --- */
+# include <Windows.h>
# define cffi_compare_and_swap(l,o,n) InterlockedCompareExchangePointer(l,n,o)
# define cffi_write_barrier()
InterlockedCompareExchange(&_cffi_dummy,0,0)
# define cffi_read_barrier() (void)0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit