From 3ac692991912e596959aaedb49ff2798537e7af5 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 8 Aug 2008 05:53:01 +0000 Subject: [PATCH] Add metroworks and generic gcc --- include/curl/curlbuild.h.dist | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/include/curl/curlbuild.h.dist b/include/curl/curlbuild.h.dist index 7dbafbce83..74754deee0 100644 --- a/include/curl/curlbuild.h.dist +++ b/include/curl/curlbuild.h.dist @@ -239,6 +239,13 @@ # define CURL_SIZEOF_CURL_OFF_T 8 # endif +#elif defined(__MWERKS__) +# define CURL_OFF_T long long +# define CURL_FMT_OFF_T "lld" +# define CURL_FMT_OFF_TU "llu" +# define CURL_FORMAT_OFF_T "%lld" +# define CURL_SIZEOF_CURL_OFF_T 8 + #elif defined(_WIN32_WCE) # define CURL_OFF_T signed __int64 # define CURL_FMT_OFF_T "I64d" @@ -338,6 +345,25 @@ # endif # endif +/* ===================================== */ +/* KEEP GENERIC GCC THE LAST ENTRY */ +/* ===================================== */ + +#elif defined(__GNUC__) +# if defined(__i386__) +# define CURL_OFF_T long long +# define CURL_FMT_OFF_T "lld" +# define CURL_FMT_OFF_TU "llu" +# define CURL_FORMAT_OFF_T "%lld" +# define CURL_SIZEOF_CURL_OFF_T 8 +# elif defined(__x86_64__) +# define CURL_OFF_T long +# define CURL_FMT_OFF_T "ld" +# define CURL_FMT_OFF_TU "lu" +# define CURL_FORMAT_OFF_T "%ld" +# define CURL_SIZEOF_CURL_OFF_T 8 +# endif + #else # error "Unknown non-configure build target!" Error Compilation_aborted_Unknown_non_configure_build_target