aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-08 05:53:01 +0000
committerYang Tse <yangsita@gmail.com>2008-08-08 05:53:01 +0000
commit3ac692991912e596959aaedb49ff2798537e7af5 (patch)
tree696d0f18afa6131e1e6f31f56928e7ae4dee0eaa
parent8d36acd29b8c2a496744eb28fb2e28e42eb6370a (diff)
Add metroworks and generic gcc
-rw-r--r--include/curl/curlbuild.h.dist26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/curl/curlbuild.h.dist b/include/curl/curlbuild.h.dist
index 7dbafbce8..74754deee 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