1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

Added support for integrated Tap networking interfaces on OSX

This commit is contained in:
Mark Pizzolato
2011-10-29 14:13:33 -07:00
parent ec4f002531
commit eaddb7d24a
3 changed files with 50 additions and 9 deletions

View File

@@ -66,7 +66,7 @@ ifeq ($(WIN32),)
# Provide support for Tap networking on Linux
NETWORK_TAP_CCDEFS = -DUSE_TAP_NETWORK
endif
ifeq (bsdtuntap,$(shell if $(TEST) -e /usr/include/net/if_tun.h; then echo bsdtuntap; fi))
ifeq (bsdtuntap,$(shell if $(TEST) -e /usr/include/net/if_tun.h -o -e /Library/Extensions/tap.kext; then echo bsdtuntap; fi))
# Provide support for Tap networking
NETWORK_TAP_CCDEFS = -DUSE_TAP_NETWORK -DUSE_BSDTUNTAP
endif