summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-12-02 20:53:42 +0100
committerYang Tse <yangsita@gmail.com>2010-12-02 20:53:42 +0100
commit81c16c2e30deac6d39e2897b1d2a3623971b126d (patch)
treea1cab21e66744be3603034396b06aa8918a10fc1
parentdd5d3518e491f1294f7af9213c204a5bf4e17df3 (diff)
downloadcurl-81c16c2e30deac6d39e2897b1d2a3623971b126d.tar.gz
build: provide SIZEOF_SIZE_T netware definition
-rw-r--r--lib/Makefile.netware2
-rw-r--r--src/Makefile.netware2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 655c7e3e7..9a14201bc 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -424,6 +424,7 @@ ifeq ($(LIBARCH),CLIB)
@echo $(DL)#define SEND_TYPE_ARG3 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_RETV int$(DL) >> $@
+ @echo $(DL)#define SIZEOF_SIZE_T 4$(DL) >> $@
@echo $(DL)#define pressanykey PressAnyKeyToContinue$(DL) >> $@
else
@echo $(DL)#define OS "i586-pc-libc-NetWare"$(DL) >> $@
@@ -459,6 +460,7 @@ else
@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_RETV ssize_t$(DL) >> $@
@echo $(DL)#define SIZEOF_OFF_T 8$(DL) >> $@
+ @echo $(DL)#define SIZEOF_SIZE_T 8$(DL) >> $@
@echo $(DL)#define _LARGEFILE 1$(DL) >> $@
ifdef ENABLE_IPV6
@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 3f5802ce4..654ddf50b 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -418,6 +418,7 @@ ifeq ($(LIBARCH),CLIB)
@echo $(DL)#define SEND_TYPE_ARG3 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_RETV int$(DL) >> $@
+ @echo $(DL)#define SIZEOF_SIZE_T 4$(DL) >> $@
@echo $(DL)#define pressanykey PressAnyKeyToContinue$(DL) >> $@
else
@echo $(DL)#define OS "i586-pc-libc-NetWare"$(DL) >> $@
@@ -453,6 +454,7 @@ else
@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
@echo $(DL)#define SEND_TYPE_RETV ssize_t$(DL) >> $@
@echo $(DL)#define SIZEOF_OFF_T 8$(DL) >> $@
+ @echo $(DL)#define SIZEOF_SIZE_T 8$(DL) >> $@
@echo $(DL)#define _LARGEFILE 1$(DL) >> $@
ifdef ENABLE_IPV6
@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@