aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.Watcom2
-rw-r--r--src/Makefile.am10
-rw-r--r--src/Makefile.netware1
-rw-r--r--src/setup.h4
4 files changed, 7 insertions, 10 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 942443848..ea84c8aac 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -8,7 +8,7 @@ CC = wcc386
CFLAGS = -3r -mf -d3 -hc -zff -zgf -zq -zm -s -fr=con -w2 -fpi -oilrtfm &
-bt=nt -d+ -dWIN32 -dHAVE_STRTOLL &
- -dSIZEOF_CURL_OFF_T=8 -dCURLDEBUG -dENABLE_IPV6 -dHAVE_WINSOCK2_H &
+ -dCURLDEBUG -dENABLE_IPV6 -dHAVE_WINSOCK2_H &
-I..\include -I..\lib
OBJ_DIR = WC_Win32.obj
diff --git a/src/Makefile.am b/src/Makefile.am
index 1d0235a77..59a97f808 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,16 +27,18 @@ AUTOMAKE_OPTIONS = foreign nostdinc
# being currently built and tested are searched before the library which
# might possibly already be installed in the system.
#
+# $(top_builddir)/include is for libcurl's generated curl/curlbuild.h file
# $(top_srcdir)/include is for libcurl's external include files
# $(top_builddir)/lib is for libcurl's generated lib/config.h file
# $(top_builddir)/src is for curl's generated src/config.h file
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
# $(top_srcdir)/src is for curl's src/setup.h and "curl-private" files
-INCLUDES = -I$(top_srcdir)/include \
- -I$(top_builddir)/lib \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/lib \
+INCLUDES = -I$(top_builddir)/include \
+ -I$(top_srcdir)/include \
+ -I$(top_builddir)/lib \
+ -I$(top_builddir)/src \
+ -I$(top_srcdir)/lib \
-I$(top_srcdir)/src
bin_PROGRAMS = curl
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 3f9d67a3e..168e53edf 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -459,7 +459,6 @@ endif
@echo $(DL)#define HAVE_UTIME 1$(DL) >> $@
@echo $(DL)#define HAVE_UTIME_H 1$(DL) >> $@
@echo $(DL)#define RETSIGTYPE void$(DL) >> $@
- @echo $(DL)#define SIZEOF_CURL_OFF_T 4$(DL) >> $@
@echo $(DL)#define STDC_HEADERS 1$(DL) >> $@
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
ifdef DISABLE_LDAP
diff --git a/src/setup.h b/src/setup.h
index 348c8de79..4f0835e3c 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -187,10 +187,6 @@ int fileno( FILE *stream);
#include <sys/timeval.h>
#endif
-#ifndef SIZEOF_CURL_OFF_T
-#define SIZEOF_CURL_OFF_T sizeof(curl_off_t)
-#endif
-
#ifndef UNPRINTABLE_CHAR
/* define what to use for unprintable characters */
#define UNPRINTABLE_CHAR '.'