From: Daniel Stenberg Date: Thu, 6 Apr 2017 15:31:48 +0000 (+0200) Subject: system.h: set sizeof long to 4 on "default 32 bit" systems X-Git-Tag: curl-7_54_0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae485279a189c4047802386e12dc2d0c043af8ef;p=curl system.h: set sizeof long to 4 on "default 32 bit" systems Triggered a test failure on test 1541 for the build known as "Linux 4.4 i686 tcc 0.9.26 glibc 2.20" --- diff --git a/include/curl/system.h b/include/curl/system.h index fb4597b52..cdc8ad8a5 100644 --- a/include/curl/system.h +++ b/include/curl/system.h @@ -420,6 +420,7 @@ #else /* generic "safe guess" on old 32 bit style */ +# define CURLSYS_SIZEOF_LONG 4 # define CURLSYS_SIZEOF_CURL_SOCKLEN_T 4 # define CURLSYS_SIZEOF_CURL_OFF_T 4 # define CURLSYS_TYPEOF_CURL_OFF_T long