1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

curl/system.h: fix compilation with gcc on AIX PPC and IA64 HP-UX

Closes https://github.com/curl/curl/pull/2186
This commit is contained in:
Dimitrios Apostolou 2017-12-21 18:09:45 +01:00 committed by Jay Satiro
parent b437557896
commit c97648b550

View File

@ -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"