From 73cc6b5a6017a15b02ce3480e0e58d19520b31ba Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 4 Oct 2009 04:21:40 +0000 Subject: Make OpenBSD native OPL backend work on x86_64 as well as i386. Subversion-branch: /branches/opl-branch Subversion-revision: 1707 --- opl/opl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opl/opl.c') 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 -- cgit v1.2.3