summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYakov Lerner <iler.ml@gmail.com>2006-05-21 21:37:00 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-21 23:44:36 (GMT)
commit6ba68ab2884e6c1db942e3bff63d4aa0bf354094 (patch)
tree29cc0f4eeece041b8bd457075e832fbf1a44fd97 /Makefile
parentfbd01abf50488d8ed94c36bdd5bfc2a4ddafb8a2 (diff)
downloadgit-6ba68ab2884e6c1db942e3bff63d4aa0bf354094.zip
git-6ba68ab2884e6c1db942e3bff63d4aa0bf354094.tar.gz
git-6ba68ab2884e6c1db942e3bff63d4aa0bf354094.tar.bz2
NO_INET_NTOP and compat/inet_ntop.c for some systems (e.g. old Cygwin).
For systems which lack inet_ntop(), this adds compat/inet_ntop.c, and related build constant, NO_INET_NTOP. Older Cygwin(s) lack inet_ntop(). Signed-off-by: Yakov Lerner <iler.ml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4fd6520..efe6b12 100644
--- a/Makefile
+++ b/Makefile
@@ -420,6 +420,9 @@ else
ALL_CFLAGS += -Dsockaddr_storage=sockaddr_in6
endif
endif
+ifdef NO_INET_NTOP
+ LIB_OBJS += compat/inet_ntop.o
+endif
ifdef NO_ICONV
ALL_CFLAGS += -DNO_ICONV