aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-24 22:26:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-24 22:26:54 +0200
commitceff21ab76f83e7ba83dbba79eecd67e49fa414c (patch)
tree8ec0fff517220b1295ce3f6d62588d90e93de231
parentcd34ffa614b04ed6ab6533fa3b8661f0ef9abfa9 (diff)
curl/system.h: add check for XTENSA for 32bit gcc
Reported-by: Neil Kolban Fixes: 1598
-rw-r--r--include/curl/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/system.h b/include/curl/system.h
index 3751d1987..973c73ad4 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -402,7 +402,8 @@
#elif defined(__GNUC__)
# if !defined(__LP64__) && (defined(__ILP32__) || \
defined(__i386__) || defined(__ppc__) || defined(__arm__) || \
- defined(__sparc__) || defined(__mips__) || defined(__sh__))
+ defined(__sparc__) || defined(__mips__) || defined(__sh__) || \
+ defined(__XTENSA__))
# define CURL_SIZEOF_LONG 4
# define CURL_TYPEOF_CURL_OFF_T long long
# define CURL_FORMAT_CURL_OFF_T "lld"