[Python-checkins] r86473 - python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.h
stefan.krah
python-checkins at python.org
Mon Nov 15 13:45:52 CET 2010
Author: stefan.krah
Date: Mon Nov 15 13:45:51 2010
New Revision: 86473
Log:
pyconfig.h must be included before the standard headers.
Modified:
python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.h
Modified: python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.h
==============================================================================
--- python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.h (original)
+++ python/branches/py3k-cdecimal/Modules/cdecimal/mpdecimal.h Mon Nov 15 13:45:51 2010
@@ -14,6 +14,10 @@
#endif
+#ifndef _MSC_VER
+ #include "pyconfig.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -27,7 +31,6 @@
#endif
#define EXTINLINE extern inline
#else
- #include "pyconfig.h"
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
More information about the Python-checkins
mailing list