[Python-checkins] cpython (merge 3.3 -> default): Merge 3.3.
stefan.krah
python-checkins at python.org
Sat Dec 22 23:09:39 CET 2012
http://hg.python.org/cpython/rev/3a841240bc10
changeset: 80983:3a841240bc10
parent: 80981:568019d6bf6b
parent: 80982:ccc372b37fbb
user: Stefan Krah <skrah at bytereef.org>
date: Sat Dec 22 23:08:42 2012 +0100
summary:
Merge 3.3.
files:
Modules/_decimal/libmpdec/mpdecimal.h | 3 ++-
1 files changed, 2 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
@@ -70,7 +70,8 @@
#else
#define UNUSED
#endif
- #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__INTEL_COMPILER)
+ #if (defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)) && \
+ defined(__GNUC__) && __GNUC__ >= 4 && !defined(__INTEL_COMPILER)
#define MPD_PRAGMA(x) _Pragma(x)
#define MPD_HIDE_SYMBOLS_START "GCC visibility push(hidden)"
#define MPD_HIDE_SYMBOLS_END "GCC visibility pop"
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list