summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-10 08:32:09 -0500
committermidipix <writeonce@midipix.org>2018-12-10 08:34:48 -0500
commitc69aa819305ba23775c3ef9f75c54619fc281592 (patch)
tree5740f7585bda5860ae481c69cf4cf410c3ee26df /project
parentdc8af219e070cffa33832582ad2d7a20c2cf2e17 (diff)
downloadsbpython2-c69aa819305ba23775c3ef9f75c54619fc281592.tar.bz2
sbpython2-c69aa819305ba23775c3ef9f75c54619fc281592.tar.xz
project: cfgdefs: reflect python's use of members in ncurses WINDOW struct.
Diffstat (limited to 'project')
-rw-r--r--project/config/cfgdefs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 1790aab..a8e4d53 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -72,6 +72,9 @@ printf 'void * addr = &X509_NAME_ENTRY_set;' \
printf 'CFLAGS_CONFIG\t\t+= -DOPENSSL_VERSION_1_1\n' \
>> $mb_pwd/cfgdefs.mk
+# ncurses: python refers to the internals of typedef struct _win_st WINDOW
+printf 'CFLAGS_CONFIG\t\t+= -DNCURSES_INTERNALS' >> $mb_pwd/cfgdefs.mk
+
# system tests: (native) pycompile
printf '\n\n#system tests: (native) pycompile\n' >> $mb_pwd/cfgdefs.mk