More checks before autolinking

This commit is contained in:
Filip Gawin
2021-01-14 22:06:27 +01:00
parent 70358d90b4
commit c7b905c0ec
5 changed files with 8 additions and 2 deletions

View File

@ -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)

View File

@ -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>