aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-05-12 13:28:59 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-05-12 13:28:59 -0400
commitc31ed9cfcabc665bda0d3fcd4d570b659e85f5d2 (patch)
treedd165d7d28ba3c22b6453ee9761247ddda4a6daf
parentdd0c1713a84259af246889326d4f072e0c213f4f (diff)
downloadtextadept-c31ed9cfcabc665bda0d3fcd4d570b659e85f5d2.tar.gz
textadept-c31ed9cfcabc665bda0d3fcd4d570b659e85f5d2.zip
Ensure _XOPEN_SOURCE_EXTENDED is defined for Linux ncurses; src/Makefile
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 667c3833..b8e45a1f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -98,7 +98,7 @@ ifneq (, $(or $(findstring Linux, $(kernel)), $(findstring BSD, $(kernel))))
gtk_libs = $(shell pkg-config --libs gtk+-$(gtk_version))
install_targets = ../textadept ../textadeptjit
else
- plat_flag = -DCURSES
+ plat_flag = -DCURSES -D_XOPEN_SOURCE_EXTENDED
curses_libs = -lncursesw
install_targets = ../textadept-curses ../textadeptjit-curses
endif