summaryrefslogtreecommitdiff
path: root/opl/opl.c
diff options
context:
space:
mode:
Diffstat (limited to 'opl/opl.c')
-rw-r--r--opl/opl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opl/opl.c b/opl/opl.c
index bf999d47..8e57647e 100644
--- a/opl/opl.c
+++ b/opl/opl.c
@@ -42,7 +42,7 @@
#ifdef HAVE_IOPERM
extern opl_driver_t opl_linux_driver;
#endif
-#ifdef HAVE_LIBI386
+#if defined(HAVE_LIBI386) || defined(HAVE_LIBAMD64)
extern opl_driver_t opl_openbsd_driver;
#endif
#ifdef _WIN32
@@ -55,7 +55,7 @@ static opl_driver_t *drivers[] =
#ifdef HAVE_IOPERM
&opl_linux_driver,
#endif
-#ifdef HAVE_LIBI386
+#if defined(HAVE_LIBI386) || defined(HAVE_LIBAMD64)
&opl_openbsd_driver,
#endif
#ifdef _WIN32