curl/system.h: add check for XTENSA for 32bit gcc

Reported-by: Neil Kolban
Fixes: 1598
This commit is contained in:
Daniel Stenberg 2017-06-24 22:26:54 +02:00
parent cd34ffa614
commit ceff21ab76
1 changed files with 2 additions and 1 deletions

View File

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