summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2021-01-14 22:06:27 +0100
committerFilip Gawin <filip.gawin@zoho.com>2021-01-14 22:06:27 +0100
commitc7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1 (patch)
tree40f48630eae122d458502b43a7c8d24502940697 /src/audio
parentBackport fix from re3 (diff)
downloadre3-c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1.tar
re3-c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1.tar.gz
re3-c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1.tar.bz2
re3-c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1.tar.lz
re3-c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1.tar.xz
re3-c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1.tar.zst
re3-c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1.zip
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