pkgsrc/sysutils/fam/hacks.mk
tv 7058b33abf Define INADDR_LOOPBACK on Interix. There's no clear place in a .h file
where this would belong, so keep it here for now.
2005-11-04 18:25:33 +00:00

10 lines
307 B
Makefile

# $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