Skip to content
Snippets Groups Projects
Commit ce95eee9 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

lcc isn't Windows-only, so check for it in conjunction with WIN32

parent b15f3bb9
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment