aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-02 11:36:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-02 11:36:07 +0000
commit938a72b2dba019eb81d942fbe85cf401a7014d21 (patch)
tree5d6efc385f0fc586bdfb33d16774d8291b053dbd /include
parenta8827b1ed6150d8dc80348a58ed9f1e20a21739d (diff)
Gisle's adjustments to allow building with lcc-win32
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 61dc14cff..bf6a8f6c5 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -52,11 +52,11 @@ extern "C" {
* platforms. We also provide a CURL_FORMAT_OFF_T define to use in *printf
* format strings when outputting a variable of type curl_off_t.
*/
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__LCC__)
/* MSVC */
typedef signed __int64 curl_off_t;
#define CURL_FORMAT_OFF_T "%I64d"
-#else /* MSC_VER */
+#else /* _MSC_VER || __LCC__ */
#if (defined(__GNUC__) && defined(WIN32)) || defined(__WATCOMC__)
/* gcc on windows or Watcom */
typedef long long curl_off_t;
@@ -88,7 +88,7 @@ extern "C" {
#define CURL_FORMAT_OFF_T "%ld"
#endif
#endif /* GCC or Watcom on Windows */
-#endif /* MSC_VER */
+#endif /* _MSC_VER || __LCC__ */
#ifdef UNDEF_FILE_OFFSET_BITS
/* this was defined above for our checks, undefine it again */
@@ -327,7 +327,7 @@ typedef enum {
* platforms.
*/
#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \
- defined(__HP_aCC) || defined(__BORLANDC__)
+ defined(__HP_aCC) || defined(__BORLANDC__) || defined(__LCC__)
/* This compiler is believed to have an ISO compatible preprocessor */
#define CURL_ISOCPP
#else