[pypy-svn] r79793 - pypy/trunk/pypy/module/cpyext/include

afa at codespeak.net afa at codespeak.net
Fri Dec 3 21:36:38 CET 2010


Author: afa
Date: Fri Dec  3 21:36:35 2010
New Revision: 79793

Modified:
   pypy/trunk/pypy/module/cpyext/include/Python.h
Log:
Add PyFPE_START_PROTECT macros, with the definition they have on almost all
CPython builds (except when you configure with ---with-fpectl)


Modified: pypy/trunk/pypy/module/cpyext/include/Python.h
==============================================================================
--- pypy/trunk/pypy/module/cpyext/include/Python.h	(original)
+++ pypy/trunk/pypy/module/cpyext/include/Python.h	Fri Dec  3 21:36:35 2010
@@ -120,4 +120,8 @@
 #define PyDoc_STR(str) ""
 #endif
 
+/* PyPy does not implement --with-fpectl */
+#define PyFPE_START_PROTECT(err_string, leave_stmt)
+#define PyFPE_END_PROTECT(v)
+
 #endif



More information about the Pypy-commit mailing list