aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/Makefile.m325
-rw-r--r--ares/Makefile.vc64
2 files changed, 1 insertions, 8 deletions
diff --git a/ares/Makefile.m32 b/ares/Makefile.m32
index f762b2bd9..11d981822 100644
--- a/ares/Makefile.m32
+++ b/ares/Makefile.m32
@@ -14,10 +14,7 @@ RANLIB = ranlib
LIB=libcares.a
CC=gcc
-CFLAGS=-O2 -Wall -DHAVE_GETOPT_H -DHAVE_AF_INET6 -DHAVE_PF_INET6 \
- -DHAVE_STRUCT_IN6_ADDR -DHAVE_STRUCT_SOCKADDR_IN6 -DHAVE_STRUCT_ADDRINFO \
- -DHAVE_IOCTLSOCKET
-
+CFLAGS=-O2 -Wall
LDFLAGS=-s
LIBS=-lwsock32
diff --git a/ares/Makefile.vc6 b/ares/Makefile.vc6
index 32f46a9a8..b6292e14d 100644
--- a/ares/Makefile.vc6
+++ b/ares/Makefile.vc6
@@ -43,10 +43,6 @@ CFLAGS = $(CFLAGS) -O2 -Og
LDFLAGS = $(LDFLAGS) -release
!endif
-CFLAGS = $(CFLAGS) -DHAVE_AF_INET6 -DHAVE_PF_INET6 \
- -DHAVE_STRUCT_IN6_ADDR -DHAVE_STRUCT_SOCKADDR_IN6 -DHAVE_STRUCT_ADDRINFO \
- -DHAVE_IOCTLSOCKET
-
OBJECTS = $(OBJ_DIR)\ares_fds.obj \
$(OBJ_DIR)\ares_process.obj \
$(OBJ_DIR)\ares_free_hostent.obj \