summaryrefslogtreecommitdiff
path: root/debian/patches/mpdecimal-version.diff
blob: e31c90bf4f1bfb9a9233f6fc9f4006083112a30e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# DP: Relax the mpdecimal version check

Index: b/Modules/_decimal/_decimal.c
===================================================================
--- a/Modules/_decimal/_decimal.c
+++ b/Modules/_decimal/_decimal.c
@@ -39,10 +39,6 @@
 #include "memory.h"
 
 
-#if !defined(MPD_VERSION_HEX) || MPD_VERSION_HEX < 0x02040100
-  #error "libmpdec version >= 2.4.1 required"
-#endif
-
 
 /*
  * Type sizes with assertions in mpdecimal.h and pyport.h: