aboutsummaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/curl/curl.h2
-rw-r--r--src/third_party/curl/curlbuild.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/curl/curl.h b/src/third_party/curl/curl.h
index 160cd98a..0d80936f 100644
--- a/src/third_party/curl/curl.h
+++ b/src/third_party/curl/curl.h
@@ -74,7 +74,7 @@
require it! */
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
- defined(ANDROID)
+ defined(__ANDROID__)
#include <sys/select.h>
#endif
diff --git a/src/third_party/curl/curlbuild.h b/src/third_party/curl/curlbuild.h
index 87d0c7bb..b0a53e6c 100644
--- a/src/third_party/curl/curlbuild.h
+++ b/src/third_party/curl/curlbuild.h
@@ -155,7 +155,7 @@
/* The size of `long', as computed by sizeof. */
#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__)) || \
- defined(__aarch64__)
+ defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64)
#define CURL_SIZEOF_LONG 8
#else
#define CURL_SIZEOF_LONG 4