aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-07-08 23:19:24 +0000
committerGunter Knauf <gk@gknw.de>2007-07-08 23:19:24 +0000
commitec1b7a0eeaf9843079b2aca51bc5173cad6fa0e9 (patch)
tree646ff85bd19bc0983c5c74c1086686df0d1273b4 /src
parent4b0e48cb4ebb1288c85f2847929856d29e937d6a (diff)
added better CodeWarrior detection;
added defines for setlocale().
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.netware7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index b1e48a079..762174ee3 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -61,7 +61,10 @@ else
OBJDIR = debug
endif
-# The following line defines your compiler.
+# The following lines defines your compiler.
+ifdef CWFolder
+ METROWERKS = $(CWFolder)
+endif
ifdef METROWERKS
# MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support
MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support/Metrowerks Support
@@ -393,12 +396,14 @@ endif
@echo $(DL)#define HAVE_INET_ADDR 1$(DL) >> $@
@echo $(DL)#define HAVE_INET_NTOA 1$(DL) >> $@
@echo $(DL)#define HAVE_LL 1$(DL) >> $@
+ @echo $(DL)#define HAVE_LOCALE_H 1$(DL) >> $@
@echo $(DL)#define HAVE_MALLOC_H 1$(DL) >> $@
@echo $(DL)#define HAVE_NETINET_IN_H 1$(DL) >> $@
@echo $(DL)#define HAVE_RECV 1$(DL) >> $@
@echo $(DL)#define HAVE_SELECT 1$(DL) >> $@
@echo $(DL)#define HAVE_SEND 1$(DL) >> $@
@echo $(DL)#define HAVE_SETJMP_H 1$(DL) >> $@
+ @echo $(DL)#define HAVE_SETLOCALE 1$(DL) >> $@
@echo $(DL)#define HAVE_SIGNAL 1$(DL) >> $@
@echo $(DL)#define HAVE_SIGNAL_H 1$(DL) >> $@
@echo $(DL)#define HAVE_SIG_ATOMIC_T 1$(DL) >> $@