aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-08-07 17:40:56 +0000
committerGunter Knauf <gk@gknw.de>2007-08-07 17:40:56 +0000
commit10203cada98918bb9db42a2cb210dc63fb6c1aa3 (patch)
treed465482e7e9582c1452f0e08faeb8d769c67ade3 /src
parent58b0415d36d6a29f6865360c4862644d5c8bcb3c (diff)
moved HAVE_LONGLONG from makefiles to config-win32.h.
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 */
/* ---------------------------------------------------------------- */