diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2021-01-14 22:06:27 +0100 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2021-01-14 22:06:27 +0100 |
commit | c7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1 (patch) | |
tree | 40f48630eae122d458502b43a7c8d24502940697 /src/skel | |
parent | Backport fix from re3 (diff) | |
download | re3-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 '')
-rw-r--r-- | src/skel/glfw/glfw.cpp | 2 | ||||
-rw-r--r-- | src/skel/win/win.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index f039819c..e34edf7a 100644 --- a/src/skel/glfw/glfw.cpp +++ b/src/skel/glfw/glfw.cpp @@ -223,7 +223,7 @@ psGrabScreen(RwCamera *pCamera) /* ***************************************************************************** */ -#ifdef _WIN32 +#if defined _MSC_VER && !defined RE3_NO_AUTOLINK #pragma comment( lib, "Winmm.lib" ) // Needed for time RwUInt32 psTimer(void) diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 1fd959f2..85278432 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -32,6 +32,7 @@ #define WM_GRAPHNOTIFY WM_USER+13 +#if defined _MSC_VER && !defined RE3_NO_AUTOLINK #ifndef USE_D3D9 #pragma comment( lib, "d3d8.lib" ) #endif @@ -40,6 +41,7 @@ #pragma comment( lib, "dxguid.lib" ) #pragma comment( lib, "strmiids.lib" ) #pragma comment( lib, "dinput8.lib" ) +#endif #if (defined(_MSC_VER)) #include <tchar.h> |