]> granicus.if.org Git - curl/commitdiff
system.h: set sizeof long to 4 on "default 32 bit" systems
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 Apr 2017 15:31:48 +0000 (17:31 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 Apr 2017 15:31:48 +0000 (17:31 +0200)
Triggered a test failure on test 1541 for the build known as
"Linux 4.4 i686 tcc 0.9.26 glibc 2.20"

include/curl/system.h

index fb4597b52379662011d884b26c842db92851e013..cdc8ad8a56bf4d1aa04b2b223ad41e511d13f4f2 100644 (file)
 
 #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