summaryrefslogtreecommitdiff
path: root/Makefile.netware
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-03-27 19:27:43 (GMT)
committerGunter Knauf <gk@gknw.de>2007-03-27 19:27:43 (GMT)
commitc719f57fd2a9185ae0f30c45d13168f7ed4c31b7 (patch)
treed5181463e353fec4790c0301a25431640457b590 /Makefile.netware
parentfbc5f7894236cd09dd6e5576cc1cfc0fa2e74e53 (diff)
downloadc-ares-c719f57fd2a9185ae0f30c45d13168f7ed4c31b7.zip
c-ares-c719f57fd2a9185ae0f30c45d13168f7ed4c31b7.tar.gz
c-ares-c719f57fd2a9185ae0f30c45d13168f7ed4c31b7.tar.bz2
added variadic macro stuff.
Diffstat (limited to 'Makefile.netware')
-rw-r--r--Makefile.netware8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.netware b/Makefile.netware
index 300b91b..6e39c84 100644
--- a/Makefile.netware
+++ b/Makefile.netware
@@ -258,6 +258,9 @@ config.h: Makefile.netware
@echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@
@echo $(DL)** All your changes will be lost!!$(DL) >> $@
@echo $(DL)*/$(DL) >> $@
+ @echo $(DL)#ifndef NETWARE$(DL) >> $@
+ @echo $(DL)#error This $(notdir $@) is created for NetWare platform!$(DL) >> $@
+ @echo $(DL)#endif$(DL) >> $@
@echo $(DL)#define OS "i586-pc-NetWare"$(DL) >> $@
@echo $(DL)#define VERSION "$(LIBCARES_VERSION_STR)"$(DL) >> $@
@echo $(DL)#define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"$(DL) >> $@
@@ -335,6 +338,11 @@ else
@echo $(DL)#define HAVE_SYS_SOCKIO_H 1$(DL) >> $@
@echo $(DL)#define HAVE_NETDB_H 1$(DL) >> $@
endif
+ @echo $(DL)#ifdef __GNUC__$(DL) >> $@
+ @echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
+ @echo $(DL)#else$(DL) >> $@
+ @echo $(DL)#define HAVE_VARIADIC_MACROS_C99 1$(DL) >> $@
+ @echo $(DL)#endif$(DL) >> $@
ifdef OLD_NOVELLSDK
@echo $(DL)#define socklen_t int$(DL) >> $@
endif