1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Add metroworks and generic gcc

This commit is contained in:
Yang Tse 2008-08-08 05:53:01 +00:00
parent 8d36acd29b
commit 3ac6929919

View File

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