summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devices/oprom/x86emu/x86emui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/oprom/x86emu/x86emui.h b/src/devices/oprom/x86emu/x86emui.h
index 8ad43bfa30..e34a1bad30 100644
--- a/src/devices/oprom/x86emu/x86emui.h
+++ b/src/devices/oprom/x86emu/x86emui.h
@@ -59,7 +59,7 @@
#ifdef __cplusplus
#define X86EMU_UNUSED(v)
#else
-#define X86EMU_UNUSED(v) v
+#define X86EMU_UNUSED(v) v __attribute__((unused))
#endif
#include "x86emu/x86emu.h"