diff options
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/qal.c | 5 | ||||
-rw-r--r-- | code/client/qal.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/code/client/qal.c b/code/client/qal.c index a958e7c..7594185 100644 --- a/code/client/qal.c +++ b/code/client/qal.c @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "qal.h" -#ifdef USE_OPENAL_DLOPEN +#if USE_OPENAL_DLOPEN #if defined _WIN32 #include <windows.h> #define OBJTYPE HMODULE @@ -341,7 +341,7 @@ void QAL_Shutdown( void ) qalcGetString = NULL; qalcGetIntegerv = NULL; } -#endif +#else qboolean QAL_Init(const char *libname) { return qtrue; @@ -350,3 +350,4 @@ void QAL_Shutdown( void ) { } #endif +#endif diff --git a/code/client/qal.h b/code/client/qal.h index 6760c24..1d71179 100644 --- a/code/client/qal.h +++ b/code/client/qal.h @@ -28,14 +28,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "../qcommon/q_shared.h" #include "../qcommon/qcommon.h" -#ifdef USE_OPENAL_DLOPEN +#if USE_OPENAL_DLOPEN #define AL_NO_PROTOTYPES #define ALC_NO_PROTOTYPES #endif #include <AL/al.h> #include <AL/alc.h> -#ifdef USE_OPENAL_DLOPEN +#if USE_OPENAL_DLOPEN extern LPALENABLE qalEnable; extern LPALDISABLE qalDisable; extern LPALISENABLED qalIsEnabled; |