Fix premake build on PowerPC platforms.

This commit is contained in:
Dr. Chat 2017-05-07 15:14:38 -05:00 committed by Rick Gibbed
parent 24e5c8d2ab
commit fe71eb790c

View File

@ -543,7 +543,8 @@
#elif defined(__GNUC__)
# if !defined(__LP64__) && (defined(__ILP32__) || \
defined(__i386__) || defined(__ppc__) || defined(__PPC__) || defined(__arm__) || \
defined(__i386__) || defined(__arm__) || \
defined(__ppc__) || defined(__PPC__) || defined(__powerpc__) || \
defined(__sparc__) || defined(__mips__) || defined(__sh__))
# define CURL_SIZEOF_LONG 4
# define CURL_TYPEOF_CURL_OFF_T long long
@ -564,6 +565,8 @@
# define CURL_SIZEOF_CURL_OFF_T 8
# define CURL_SUFFIX_CURL_OFF_T L
# define CURL_SUFFIX_CURL_OFF_TU UL
# else
# error "GCC: Unknown combination of settings!"
# endif
# define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
# define CURL_SIZEOF_CURL_SOCKLEN_T 4