summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/sampman_miles.cpp2
-rw-r--r--src/audio/sampman_oal.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp
index 2a4286eb..2a9b4a13 100644
--- a/src/audio/sampman_miles.cpp
+++ b/src/audio/sampman_miles.cpp
@@ -18,7 +18,9 @@
#include "Timer.h"
#include "crossplatform.h"
+#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#pragma comment( lib, "mss32.lib" )
+#endif
// --MIAMI: file done
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index ce6458e6..27b60e8f 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -38,7 +38,7 @@
//TODO: max channels
//TODO: loop count
-#ifdef _WIN32
+#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#pragma comment( lib, "OpenAL32.lib" )
#endif