Code

Improve the mingw getaddrinfo stub to handle more use cases
[git.git] / Makefile
index d9d941933c401d7489fbb71533a1604999b75151..2aa067aaf491986bb5ee8dece92796e41bbf4f34 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1398,9 +1398,11 @@ endif
 endif
 ifdef NO_INET_NTOP
        LIB_OBJS += compat/inet_ntop.o
+       BASIC_CFLAGS += -DNO_INET_NTOP
 endif
 ifdef NO_INET_PTON
        LIB_OBJS += compat/inet_pton.o
+       BASIC_CFLAGS += -DNO_INET_PTON
 endif
 
 ifdef NO_ICONV