diff options
author | Dimitrios Apostolou <jimis@northern.tech> | 2017-12-21 18:09:45 +0100 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-12-22 03:04:36 -0500 |
commit | c97648b55080343bb371522bf4233e94a2a13a99 (patch) | |
tree | e899fc31b7924f5a8c62e44335b41eefb45de068 /include | |
parent | b437557896abf2d164e5cf9606dc4e9c4fa6cd92 (diff) | |
download | curl-c97648b55080343bb371522bf4233e94a2a13a99.tar.gz |
curl/system.h: fix compilation with gcc on AIX PPC and IA64 HP-UX
Closes https://github.com/curl/curl/pull/2186
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/system.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/system.h b/include/curl/system.h index 39dae754c..c49971bf6 100644 --- a/include/curl/system.h +++ b/include/curl/system.h @@ -348,7 +348,8 @@ defined(__ppc__) || defined(__powerpc__) || defined(__arm__) || \ defined(__sparc__) || defined(__mips__) || defined(__sh__) || \ defined(__XTENSA__) || \ - (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4)) + (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4) || \ + (defined(SIZEOF_LONG) && SIZEOF_LONG == 4)) # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" |