summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2021-01-14 15:30:33 +0100
committerFilip Gawin <filip.gawin@zoho.com>2021-01-14 15:30:33 +0100
commit70358d90b4d75a9fb38c962e6355a52c016cbd59 (patch)
tree6cfc3aa52faa5fe6d524f34c8442fb45f27b6326 /src/audio
parent57cc70c6af777247579d4ddf96b79bd9c6b7f692 (diff)
Backport fix from re3
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/oal/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index 81a78381..4523b07a 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -4,7 +4,7 @@
#include "stream.h"
#include "sampman.h"
-#ifdef _WIN32
+#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#ifdef AUDIO_OAL_USE_SNDFILE
#pragma comment( lib, "libsndfile-1.lib" )
#endif