aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.netware6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 9eea9b166..b5025cfed 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -212,9 +212,11 @@ endif
ifeq ($(findstring linux,$(OSTYPE)),linux)
DL = '
DS = /
+PCT = %
#-include $(NDKBASE)/nlmconv/ncpfs.inc
else
DS = \\
+PCT = %%
endif
# Makefile.inc provides the CSOURCES and HHEADERS defines
@@ -596,7 +598,7 @@ ifeq ($(LIBARCH),LIBC)
@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) >> $@
- @echo $(DL)#define CURL_FORMAT_OFF_T "%lld"$(DL) >> $@
+ @echo $(DL)#define CURL_FORMAT_OFF_T "$(PCT)lld"$(DL) >> $@
@echo $(DL)#define CURL_SIZEOF_CURL_OFF_T 8$(DL) >> $@
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_T LL$(DL) >> $@
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_TU ULL$(DL) >> $@
@@ -604,7 +606,7 @@ else
@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) >> $@
- @echo $(DL)#define CURL_FORMAT_OFF_T "%ld"$(DL) >> $@
+ @echo $(DL)#define CURL_FORMAT_OFF_T "$(PCT)ld"$(DL) >> $@
@echo $(DL)#define CURL_SIZEOF_CURL_OFF_T 4$(DL) >> $@
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_T L$(DL) >> $@
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_TU UL$(DL) >> $@