summaryrefslogtreecommitdiff
path: root/project/pyexts.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-22 17:16:47 -0500
committermidipix <writeonce@midipix.org>2018-12-22 19:14:26 -0500
commita4a46b7e65bcc92f177e5fcb5970655fbe5e95de (patch)
tree3b562cd7079633157f6d5d70585e504e7c8dc8d7 /project/pyexts.c
parentad39fbf857b0951300dc23f59eaae3656db37661 (diff)
downloadsbpython3-a4a46b7e65bcc92f177e5fcb5970655fbe5e95de.tar.bz2
sbpython3-a4a46b7e65bcc92f177e5fcb5970655fbe5e95de.tar.xz
project: extensions: _decimal: take the -DUNIVERSAL code path.
Diffstat (limited to 'project/pyexts.c')
-rw-r--r--project/pyexts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/pyexts.c b/project/pyexts.c
index 3456b4e..71bca45 100644
--- a/project/pyexts.c
+++ b/project/pyexts.c
@@ -127,7 +127,8 @@ static const struct pyext_meta pyexts[] = {
"_curses_panel"),
PYEXT_COMMON("_decimal",
- "-I$(SOURCE_DIR)/Modules/_decimal/libmpdec",0,
+ "-I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL",
+ 0,
"_decimal/_decimal",
"_decimal/libmpdec/basearith",
"_decimal/libmpdec/constants",