aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-06-16 21:57:03 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-06-16 21:57:03 -0400
commit742001db54df386553de6c72bec85de24201042e (patch)
tree8e6c642085783556ce1527423b66fd9c052da8db /src/Makefile
parentd21a96d6ab4228b47a677cebc17d21624ad9b178 (diff)
downloadtextadept-742001db54df386553de6c72bec85de24201042e.tar.gz
textadept-742001db54df386553de6c72bec85de24201042e.zip
Fixed some compile warnings.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index faf0c31d..3741f461 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -8,9 +8,9 @@ CPP = g++
PKG_CONFIG = pkg-config
PKG_CONFIG_PATH = $PKG_CONFIG_PATH
ifndef NCURSES
-PLAT_FLAGS = -DGTK
+PLAT_FLAGS = -DGTK -D_XOPEN_SOURCE=700
else
-PLAT_FLAGS = -DNCURSES
+PLAT_FLAGS = -DNCURSES -D_XOPEN_SOURCE=700
endif
ifdef BSD
PLAT_FLAGS += -D__BSD__
@@ -128,7 +128,7 @@ endif
ifndef NCURSES
LIBS = $(GTKLIBS)
else
-LIBS = -lncursesw -lcdk
+LIBS = -lncurses -lcdk
endif
TEXTADEPT_OBJS = textadept.o