1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 03:50:01 +00:00

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

@ -18,7 +18,9 @@
#include "Timer.h" #include "Timer.h"
#include "crossplatform.h" #include "crossplatform.h"
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#pragma comment( lib, "mss32.lib" ) #pragma comment( lib, "mss32.lib" )
#endif
// --MIAMI: file done // --MIAMI: file done

View file

@ -38,7 +38,7 @@
//TODO: max channels //TODO: max channels
//TODO: loop count //TODO: loop count
#ifdef _WIN32 #if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#pragma comment( lib, "OpenAL32.lib" ) #pragma comment( lib, "OpenAL32.lib" )
#endif #endif

View file

@ -10,6 +10,7 @@
#include "crossplatform.h" #include "crossplatform.h"
#include "platform.h" #include "platform.h"
#ifdef XINPUT #ifdef XINPUT
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#include <xinput.h> #include <xinput.h>
#if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1) #if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1)
#pragma comment( lib, "Xinput9_1_0.lib" ) #pragma comment( lib, "Xinput9_1_0.lib" )
@ -17,6 +18,7 @@
#pragma comment( lib, "Xinput.lib" ) #pragma comment( lib, "Xinput.lib" )
#endif #endif
#endif #endif
#endif
#include "Pad.h" #include "Pad.h"
#include "ControllerConfig.h" #include "ControllerConfig.h"

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 #pragma comment( lib, "Winmm.lib" ) // Needed for time
RwUInt32 RwUInt32
psTimer(void) psTimer(void)

View file

@ -32,6 +32,7 @@
#define WM_GRAPHNOTIFY WM_USER+13 #define WM_GRAPHNOTIFY WM_USER+13
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#ifndef USE_D3D9 #ifndef USE_D3D9
#pragma comment( lib, "d3d8.lib" ) #pragma comment( lib, "d3d8.lib" )
#endif #endif
@ -40,6 +41,7 @@
#pragma comment( lib, "dxguid.lib" ) #pragma comment( lib, "dxguid.lib" )
#pragma comment( lib, "strmiids.lib" ) #pragma comment( lib, "strmiids.lib" )
#pragma comment( lib, "dinput8.lib" ) #pragma comment( lib, "dinput8.lib" )
#endif
#if (defined(_MSC_VER)) #if (defined(_MSC_VER))
#include <tchar.h> #include <tchar.h>