summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorFlorent Castelli <florent.castelli@gmail.com>2017-01-24 02:21:01 +0100
committerFlorent Castelli <florent.castelli@gmail.com>2017-01-24 03:22:03 +0100
commitc649bf104b486202b092dd316f6e6677ddf87ea3 (patch)
treeeec13c6f3525db9c1a86922762b982acf561703b /Source/Core
parentcac53603c52af62372bccb660fb081fb6cdb2e40 (diff)
cmake: Prevent HAVE_OPENAL and HAVE_PORTAUDIO to be redefined
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Common.h4
1 files changed, 4 insertions, 0 deletions
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)