mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
Fix building with curl on Linux PPC and Sparc
This commit is contained in:
parent
494aa4100e
commit
dd69576dc1
1 changed files with 4 additions and 2 deletions
|
@ -528,7 +528,8 @@
|
||||||
|
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
# if defined(__ILP32__) || \
|
# if defined(__ILP32__) || \
|
||||||
defined(__i386__) || defined(__ppc__) || defined(__arm__)
|
defined(__i386__) || defined(__ppc__) || defined(__powerpc__) || \
|
||||||
|
defined(__arm__) || defined(__sparc__)
|
||||||
# define CURL_SIZEOF_LONG 4
|
# define CURL_SIZEOF_LONG 4
|
||||||
# define CURL_TYPEOF_CURL_OFF_T long long
|
# define CURL_TYPEOF_CURL_OFF_T long long
|
||||||
# define CURL_FORMAT_CURL_OFF_T "lld"
|
# define CURL_FORMAT_CURL_OFF_T "lld"
|
||||||
|
@ -538,7 +539,8 @@
|
||||||
# define CURL_SUFFIX_CURL_OFF_T LL
|
# define CURL_SUFFIX_CURL_OFF_T LL
|
||||||
# define CURL_SUFFIX_CURL_OFF_TU ULL
|
# define CURL_SUFFIX_CURL_OFF_TU ULL
|
||||||
# elif defined(__LP64__) || \
|
# elif defined(__LP64__) || \
|
||||||
defined(__x86_64__) || defined(__ppc64__)
|
defined(__x86_64__) || defined(__ppc64__) || defined(__powerpc64__) || \
|
||||||
|
defined(__sparc64__)
|
||||||
# define CURL_SIZEOF_LONG 8
|
# define CURL_SIZEOF_LONG 8
|
||||||
# define CURL_TYPEOF_CURL_OFF_T long
|
# define CURL_TYPEOF_CURL_OFF_T long
|
||||||
# define CURL_FORMAT_CURL_OFF_T "ld"
|
# define CURL_FORMAT_CURL_OFF_T "ld"
|
||||||
|
|
Loading…
Reference in a new issue