From c649bf104b486202b092dd316f6e6677ddf87ea3 Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Tue, 24 Jan 2017 02:21:01 +0100 Subject: [PATCH] cmake: Prevent HAVE_OPENAL and HAVE_PORTAUDIO to be redefined --- Source/Core/Common/Common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Common/Common.h b/Source/Core/Common/Common.h index a48203a874..df9970a962 100644 --- a/Source/Core/Common/Common.h +++ b/Source/Core/Common/Common.h @@ -39,9 +39,13 @@ extern const std::string scm_distributor_str; // Since they are always around on Windows #define HAVE_WX 1 +#ifndef HAVE_OPENAL #define HAVE_OPENAL 1 +#endif +#ifndef HAVE_PORTAUDIO #define HAVE_PORTAUDIO 1 +#endif // Debug definitions #if defined(_DEBUG)