summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-04-06 17:31:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-04-06 17:31:48 +0200
commitae485279a189c4047802386e12dc2d0c043af8ef (patch)
treea74a768e94af3b8bf11feccbd8cf5206a3b54dad
parentc59fcdac909cb013943f5d46543c8426b06ccf4f (diff)
downloadcurl-ae485279a189c4047802386e12dc2d0c043af8ef.tar.gz
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"
-rw-r--r--include/curl/system.h1
1 files changed, 1 insertions, 0 deletions
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