fix size types w/x32

A=vapier@chromium.org R=ted at https://breakpad.appspot.com/526002/
BUG=chromium-os:36866
TEST=compiled the code for x86_64 (64bit) & x86_64 (x32)

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1129 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek@gmail.com 2013-03-07 19:02:44 +00:00
parent dc64e106e2
commit 8fdf481b7f

View file

@ -154,7 +154,7 @@
#endif
/* The size of `long', as computed by sizeof. */
#if defined(_M_X64) || defined(__x86_64__)
#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__))
#define CURL_SIZEOF_LONG 8
#else
#define CURL_SIZEOF_LONG 4
@ -170,7 +170,7 @@
typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t;
/* Signed integral data type used for curl_off_t. */
#if defined(_M_X64) || defined(__x86_64__)
#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__))
#define CURL_TYPEOF_CURL_OFF_T long
#else
#define CURL_TYPEOF_CURL_OFF_T int64_t