pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/fam Define INADDR_LOOPBACK on Interix. There...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/84f61e58ec39
branches:  trunk
changeset: 502435:84f61e58ec39
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Nov 04 18:25:33 2005 +0000

description:
Define INADDR_LOOPBACK on Interix.  There's no clear place in a .h file
where this would belong, so keep it here for now.

diffstat:

 sysutils/fam/hacks.mk |  10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 5d968ca6e5de -r 84f61e58ec39 sysutils/fam/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/fam/hacks.mk     Fri Nov 04 18:25:33 2005 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/11/04 18:25:33 tv Exp $
+
+###
+### Interix doesn't have this constant.  There's no clear place to insert
+### it into the source headers, so keep it here for now.
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+=    inaddr-loopback-constant
+CPPFLAGS+=     -DINADDR_LOOPBACK=0x7F000001UL
+.endif



Home | Main Index | Thread Index | Old Index