aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2005-11-24 20:33:38 +0000
committerGisle Vanem <gvanem@broadpark.no>2005-11-24 20:33:38 +0000
commit2f684351bfd4c02f72a91434437ce2566d4f814b (patch)
tree294e115dc346975b1775a49d3b15509c8a1def93
parent74e5beab9dbeb0e893754b8c21679527b5b7e178 (diff)
Changes for OpenWatcom 1.4.
-rw-r--r--lib/Makefile.Watcom6
-rw-r--r--lib/config-win32.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index d27ad308f..0cd7c8375 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -9,9 +9,9 @@ TARGETS = libcurl_wc.lib libcurl_wc.dll libcurl_wc_imp.lib
CC = wcc386
CFLAGS = -3r -mf -d3 -hc -zff -zgf -zq -zm -zc -s -fr=con -w2 -fpi -oilrtfm -bt=nt -bd &
- -d+ -dWIN32 -dHAVE_LONGLONG -dCURL_CA_BUNDLE=getenv("CURL_CA_BUNDLE") &
- -dBUILDING_LIBCURL -dWITHOUT_MM_LIB -dHAVE_SPNEGO=1 -dENABLE_IPV6 &
- -dDEBUG_THREADING_GETADDRINFO -dDEBUG=1 -dCURLDEBUG -dCURL_DISABLE_TFTP &
+ -d+ -dWIN32 -dHAVE_LONGLONG -dCURL_CA_BUNDLE=getenv("CURL_CA_BUNDLE") &
+ -dBUILDING_LIBCURL -dWITHOUT_MM_LIB -dHAVE_SPNEGO=1 -dENABLE_IPV6 &
+ -dDEBUG_THREADING_GETADDRINFO -dDEBUG=1 -dCURLDEBUG -d_WIN32_WINNT=0x0501 &
-I. -I..\include
OBJ_DIR = Watcom_obj
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 5e9e8057c..030b82dfc 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -27,7 +27,10 @@
/* #undef size_t */
/* Define this to 'int' if ssize_t is not an available typedefed type */
+#if defined(__WATCOMC__) && (__WATCOMC__ >= 1240)
+#else
#define ssize_t int
+#endif
/* Define this to 'int' if socklen_t is not an available typedefed type */
#if !defined(ENABLE_IPV6) && ((_MSC_VER < 1300) || !defined(USE_SSLEAY))