mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
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.
This commit is contained in:
parent
64e3a091c3
commit
feb03e4717
10 changed files with 127 additions and 34 deletions
|
|
@ -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) >> $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue