aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/fmopl.h')
-rw-r--r--sound/fmopl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/fmopl.h b/sound/fmopl.h
index ac83e6ba58..486ff988d5 100644
--- a/sound/fmopl.h
+++ b/sound/fmopl.h
@@ -28,9 +28,9 @@
#define HAS_YM3812 1
/* --- select emulation chips --- */
-#define BUILD_YM3812 (HAS_YM3812)
-#define BUILD_YM3526 (HAS_YM3526)
-#define BUILD_Y8950 (HAS_Y8950)
+#define BUILD_YM3812 defined(HAS_YM3812) && HAS_YM3812
+#define BUILD_YM3526 defined(HAS_YM3526) && HAS_YM3526
+#define BUILD_Y8950 defined(HAS_Y8950) && HAS_Y8950
/* select output bits size of output : 8 or 16 */
#define OPL_SAMPLE_BITS 16