diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2021-01-11 01:01:15 +0100 |
---|---|---|
committer | shfil <filip.gawin@zoho.com> | 2021-01-11 01:12:44 +0100 |
commit | 8a157eee0a106ed30e785e8da203a6413d562452 (patch) | |
tree | 791d826bf9ec7eeb9e0b282c789607ba0fd9a675 /src/audio/oal | |
parent | 8aaa3c4884d6ca3e3d46824fbcfa23bb974328d0 (diff) |
audio: only use #pragma comment(lib, xxx.lib) on MSVC
Diffstat (limited to 'src/audio/oal')
-rw-r--r-- | src/audio/oal/stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp index ccb17577..74ed86f4 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 |