[Python-checkins] cpython (3.3): Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc).

stefan.krah python-checkins at python.org
Sun Dec 23 15:46:48 CET 2012


http://hg.python.org/cpython/rev/f05d29353f02
changeset:   80993:f05d29353f02
branch:      3.3
parent:      80989:e684b253fd9d
user:        Stefan Krah <skrah at bytereef.org>
date:        Sun Dec 23 15:42:21 2012 +0100
summary:
  Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc).

files:
  Modules/_decimal/libmpdec/mpdecimal.h |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_decimal/libmpdec/mpdecimal.h b/Modules/_decimal/libmpdec/mpdecimal.h
--- a/Modules/_decimal/libmpdec/mpdecimal.h
+++ b/Modules/_decimal/libmpdec/mpdecimal.h
@@ -63,7 +63,7 @@
     #include <inttypes.h>
   #endif
   #ifndef __GNUC_STDC_INLINE__
-    #define __GNUC_STDC_INLINE__
+    #define __GNUC_STDC_INLINE__ 1
   #endif
   #if defined(__GNUC__) && !defined(__INTEL_COMPILER)
     #define UNUSED __attribute__((unused))

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list