[Python-checkins] r86368 - python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.c

stefan.krah python-checkins at python.org
Tue Nov 9 21:02:55 CET 2010


Author: stefan.krah
Date: Tue Nov  9 21:02:55 2010
New Revision: 86368

Log:
Fix NetBSD build.



Modified:
   python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.c

Modified: python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.c
==============================================================================
--- python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.c	(original)
+++ python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.c	Tue Nov  9 21:02:55 2010
@@ -25,7 +25,7 @@
   #if defined(_MSC_VER)
     #include <float.h>
     #pragma fenv_access(on)
-  #elif !defined(__OpenBSD__)
+  #elif !defined(__OpenBSD__) && !defined(__NetBSD__)
     /* C99 */
     #include <fenv.h>
     #pragma STDC FENV_ACCESS ON


More information about the Python-checkins mailing list