opnsense-ports/emulators/bochs/files/patch-plugin.h
Franco Fichtner 10b353d84a */*: sync with upstream
Taken from: HardenedBSD
2017-07-28 06:50:35 +02:00

14 lines
418 B
C

--- plugin.h.orig 2017-07-27 21:00:33.547902000 +0000
+++ plugin.h 2017-07-27 21:01:01.818005000 +0000
@@ -264,7 +264,11 @@
((eth_pktmover_c*)bx_devices.pluginNetModCtl->init_module(a,(void*)b,(void*)c,d))
///////// Gameport macro
+#if BX_SUPPORT_GAMEPORT
#define DEV_gameport_set_enabled(a) bx_devices.pluginGameport->set_enabled(a)
+#else
+#define DEV_gameport_set_enabled(a)
+#endif
#if BX_HAVE_DLFCN_H