summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-12-22 13:46:44 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-12-22 13:46:44 (GMT)
commit66a6f3fa81698a3c28976cd59cef44bf25fb4937 (patch)
tree49ccfb843447e0619e16343359c0086600debb4c /Modules/_decimal
parentfdf1a34ba113a783ed4865f810adbbbde11c8635 (diff)
downloadcpython-66a6f3fa81698a3c28976cd59cef44bf25fb4937.zip
cpython-66a6f3fa81698a3c28976cd59cef44bf25fb4937.tar.gz
cpython-66a6f3fa81698a3c28976cd59cef44bf25fb4937.tar.bz2
Fix Visual Studio build.
Diffstat (limited to 'Modules/_decimal')
-rw-r--r--Modules/_decimal/libmpdec/mpdecimal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.h b/Modules/_decimal/libmpdec/mpdecimal.h
index f5affdb..d745319 100644
--- a/Modules/_decimal/libmpdec/mpdecimal.h
+++ b/Modules/_decimal/libmpdec/mpdecimal.h
@@ -51,6 +51,9 @@ extern "C" {
#ifndef UNUSED
#define UNUSED
#endif
+ #define MPD_PRAGMA(x)
+ #define MPD_HIDE_SYMBOLS_START
+ #define MPD_HIDE_SYMBOLS_END
#define EXTINLINE extern inline
#else
#ifdef HAVE_STDINT_H