mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
fix macro redefinition warnings on win-glfw build
This commit is contained in:
parent
e6544a6983
commit
79c010f082
@ -1,3 +1,4 @@
|
|||||||
|
#define WITHWINDOWS
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#ifdef AUDIO_MSS
|
#ifdef AUDIO_MSS
|
||||||
|
@ -2209,8 +2209,9 @@ int scriptToLoad = 0;
|
|||||||
const char *scriptfile = "main.scm";
|
const char *scriptfile = "main.scm";
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
extern "C" __declspec(dllimport) short __stdcall GetAsyncKeyState(int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int open_script()
|
int open_script()
|
||||||
{
|
{
|
||||||
// glfwGetKey doesn't work because of CGame::Initialise is blocking
|
// glfwGetKey doesn't work because of CGame::Initialise is blocking
|
||||||
|
Loading…
Reference in New Issue
Block a user