]> granicus.if.org Git - python/commitdiff
Fix Visual Studio build.
authorStefan Krah <skrah@bytereef.org>
Sat, 22 Dec 2012 13:46:44 +0000 (14:46 +0100)
committerStefan Krah <skrah@bytereef.org>
Sat, 22 Dec 2012 13:46:44 +0000 (14:46 +0100)
Modules/_decimal/libmpdec/mpdecimal.h

index f5affdbc5e8796f89409621273e8d18e5c687235..d745319012a709aa7546df57602fcc5802dfba2d 100644 (file)
@@ -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