Fix 64-bit build on Linux.

BUG=412
Review URL: http://breakpad.appspot.com/233001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@734 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
thestig@chromium.org 2010-11-22 22:54:51 +00:00
parent 3665a7d09b
commit ccc2446863

View file

@ -154,7 +154,7 @@
#endif
/* The size of `long', as computed by sizeof. */
#ifdef __arch64__
#if defined(_M_X64) || defined(__x86_64__)
#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. */
#ifdef __arch64__
#if defined(_M_X64) || defined(__x86_64__)
#define CURL_TYPEOF_CURL_OFF_T long
#else
#define CURL_TYPEOF_CURL_OFF_T int64_t