diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2005-12-12 17:11:23 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2005-12-12 17:11:23 +0000 |
commit | ce95eee903ae275bd7330ced83a7f28f50b9dce3 (patch) | |
tree | 428ccbf4b83c88d2de8d9db493f3b2853508eb0a /include | |
parent | b15f3bb969e974eadc224e1772dd4134f7f781c4 (diff) |
lcc isn't Windows-only, so check for it in conjunction with WIN32
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 1034ffb95..2d4201f17 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -67,7 +67,7 @@ extern "C" { * format strings when outputting a variable of type curl_off_t. */ -#if defined(_MSC_VER) || defined(__LCC__) +#if defined(_MSC_VER) || (defined(__LCC__) && defined(WIN32)) /* MSVC */ #ifdef _WIN32_WCE typedef long curl_off_t; @@ -76,7 +76,7 @@ extern "C" { typedef signed __int64 curl_off_t; #define CURL_FORMAT_OFF_T "%I64d" #endif -#else /* _MSC_VER || __LCC__ */ +#else /* _MSC_VER || (defined(__LCC__) && defined(WIN32)) */ #if (defined(__GNUC__) && defined(WIN32)) || defined(__WATCOMC__) /* gcc on windows or Watcom */ typedef long long curl_off_t; @@ -108,7 +108,7 @@ extern "C" { #define CURL_FORMAT_OFF_T "%ld" #endif #endif /* GCC or Watcom on Windows */ -#endif /* _MSC_VER || __LCC__ */ +#endif /* _MSC_VER || (defined(__LCC__) && defined(WIN32)) */ #ifdef UNDEF_FILE_OFFSET_BITS /* this was defined above for our checks, undefine it again */ |