aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.Watcom2
-rw-r--r--src/config-win32.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 2486cf87f..4c6b27308 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -13,7 +13,7 @@ STATIC = 0
CC = wcc386
CFLAGS = -3r -mf -d3 -hc -zff -zgf -zq -zm -s -fr=con -w2 -fpi -oilrtfm &
- -bt=nt -d+ -dWIN32 -dHAVE_LONGLONG -dHAVE_STRTOLL -dWITHOUT_MM_LIB &
+ -bt=nt -d+ -dWIN32 -dHAVE_STRTOLL -dWITHOUT_MM_LIB &
-dSIZEOF_CURL_OFF_T=8 -dCURLDEBUG -dENABLE_IPV6 -dHAVE_WINSOCK2_H &
-I..\include -I..\lib
diff --git a/src/config-win32.h b/src/config-win32.h
index 734d575a8..90ce7d6d8 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -180,6 +180,11 @@
#define HAVE_VARIADIC_MACROS_C99 1
#endif
+/* Define if the compiler supports LONGLONG. */
+#if defined(__MINGW32__) || defined(__WATCOMC__)
+#define HAVE_LONGLONG 1
+#endif
+
/* ---------------------------------------------------------------- */
/* ADDITIONAL DEFINITIONS */
/* ---------------------------------------------------------------- */