diff -u3 -Hb -r CVS-latest/include/curl/curl.h include/curl/curl.h --- CVS-latest/include/curl/curl.h Mon May 24 12:46:22 2004 +++ include/curl/curl.h Sun May 30 16:07:08 2004 @@ -27,7 +27,7 @@ http://curl.haxx.se/libcurl/ */ -#include "curlver.h" /* the libcurl version defines */ +#include /* the libcurl version defines */ #include #include @@ -52,11 +52,11 @@ * 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 @@ #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 @@ * 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 diff -u3 -Hb -r CVS-latest/lib/config-win32.h lib/config-win32.h --- CVS-latest/lib/config-win32.h Wed Mar 10 10:14:22 2004 +++ lib/config-win32.h Sun May 30 16:46:56 2004 @@ -223,7 +223,8 @@ /************************************************* * This section is for compiler specific defines.* *************************************************/ -#if defined(MINGW32) || defined(__WATCOMC__) /* Borland and MS don't have this */ +/* Borland and MS don't have this */ +#if defined(MINGW32) || defined(__WATCOMC__) || defined(__LCC__) /* Define if you have the header file. */ #define HAVE_UNISTD_H 1 diff -u3 -Hb -r CVS-latest/lib/setup.h lib/setup.h --- CVS-latest/lib/setup.h Mon May 24 09:53:25 2004 +++ lib/setup.h Sun May 30 14:44:40 2004 @@ -261,7 +261,7 @@ #error "ares does not yet support IPv6. Disable IPv6 or ares and rebuild" #endif -#if defined(WIN32) && !defined(__CYGWIN__) && !defined(USE_ARES) +#if defined(WIN32) && !defined(__CYGWIN__) && !defined(USE_ARES) && !defined(__LCC__) #ifdef ENABLE_IPV6 #define USE_THREADING_GETADDRINFO #else diff -u3 -Hb -r CVS-latest/lib/timeval.h lib/timeval.h --- CVS-latest/lib/timeval.h Fri Apr 09 11:36:31 2004 +++ lib/timeval.h Sun May 30 14:07:17 2004 @@ -37,7 +37,8 @@ #endif #ifndef HAVE_GETTIMEOFDAY -#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF) +#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF) && \ + !defined(__LCC__) struct timeval { long tv_sec; long tv_usec;