From 90bd960c5d9ac928a336a5fb305bd7448a0378f3 Mon Sep 17 00:00:00 2001 From: nakeee Date: Wed, 29 Oct 2008 20:51:35 +0000 Subject: [PATCH] linux compile fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1005 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h | 1 + Source/Plugins/Plugin_Wiimote_Test/Src/Wiimote.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h index 0fac28cc4e..940f987ac8 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h @@ -19,6 +19,7 @@ #include #include "hci.h" +#include class CWII_IPC_HLE_Device_usb_oh1_57e_305; diff --git a/Source/Plugins/Plugin_Wiimote_Test/Src/Wiimote.cpp b/Source/Plugins/Plugin_Wiimote_Test/Src/Wiimote.cpp index 51754312eb..0a3c2c9464 100644 --- a/Source/Plugins/Plugin_Wiimote_Test/Src/Wiimote.cpp +++ b/Source/Plugins/Plugin_Wiimote_Test/Src/Wiimote.cpp @@ -96,6 +96,7 @@ static u16 convert16bit(const u8* src) { } #ifdef _WIN32 HINSTANCE g_hInstance; +#endif void GetMousePos(float& x, float& y) { @@ -132,7 +133,7 @@ IMPLEMENT_APP_NO_MAIN(wxDLLApp) WXDLLIMPEXP_BASE void wxSetInstance(HINSTANCE hInst); - +#ifdef _WIN32 BOOL APIENTRY DllMain(HINSTANCE hinstDLL, // DLL module handle DWORD dwReason, // reason called LPVOID lpvReserved) // reserved