mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 09:35:51 +01:00
List missing 64-bit arches in the bundled curl
Currently the bundled curl fails to build on ppc64/ppc64le or s390x, because it has an incomplete list of 64-bit arches (where long is 64-bit). Similar version is currently used as a downstream patch in Fedora https://src.fedoraproject.org/rpms/firefox/blob/master/f/build-ppc64-s390x-curl.patch Change-Id: Id27bfe1ca048340c45926f5435336941c080f132 Reviewed-on: https://chromium-review.googlesource.com/765453 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
8a0edac9ab
commit
615ad2b6f4
3
src/third_party/curl/curlbuild.h
vendored
3
src/third_party/curl/curlbuild.h
vendored
@ -155,7 +155,8 @@
|
|||||||
|
|
||||||
/* The size of `long', as computed by sizeof. */
|
/* The size of `long', as computed by sizeof. */
|
||||||
#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__)) || \
|
#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__)) || \
|
||||||
defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64)
|
defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64) || \
|
||||||
|
defined(__powerpc64__) || defined(__s390x__) || defined(__LP64__)
|
||||||
#define CURL_SIZEOF_LONG 8
|
#define CURL_SIZEOF_LONG 8
|
||||||
#else
|
#else
|
||||||
#define CURL_SIZEOF_LONG 4
|
#define CURL_SIZEOF_LONG 4
|
||||||
|
Loading…
Reference in New Issue
Block a user