aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.netware
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-13 15:32:20 +0000
committerYang Tse <yangsita@gmail.com>2008-08-13 15:32:20 +0000
commitfeb03e471786e9c543ef6e807a4a748046c0ce2b (patch)
treeb2c7571bd167c31f8702240a0e9c6f1fec295df5 /lib/Makefile.netware
parent64e3a091c34482b666c3c50c312829cd7fa140c9 (diff)
The size of long is a build time characteristic and as such it is now recorded
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems.
Diffstat (limited to 'lib/Makefile.netware')
-rw-r--r--lib/Makefile.netware2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index b5025cfed..886874319 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -595,6 +595,7 @@ $(CURL_INC)/curl/curlbuild.h: Makefile.netware FORCE
@echo $(DL)#ifndef __CURL_CURLBUILD_H$(DL) >> $@
@echo $(DL)#define __CURL_CURLBUILD_H$(DL) >> $@
ifeq ($(LIBARCH),LIBC)
+ @echo $(DL)#define CURL_SIZEOF_LONG 4$(DL) >> $@
@echo $(DL)#define CURL_OFF_T long long$(DL) >> $@
@echo $(DL)#define CURL_FMT_OFF_T "lld"$(DL) >> $@
@echo $(DL)#define CURL_FMT_OFF_TU "llu"$(DL) >> $@
@@ -603,6 +604,7 @@ ifeq ($(LIBARCH),LIBC)
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_T LL$(DL) >> $@
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_TU ULL$(DL) >> $@
else
+ @echo $(DL)#define CURL_SIZEOF_LONG 4$(DL) >> $@
@echo $(DL)#define CURL_OFF_T long$(DL) >> $@
@echo $(DL)#define CURL_FMT_OFF_T "ld"$(DL) >> $@
@echo $(DL)#define CURL_FMT_OFF_TU "lu"$(DL) >> $@