From fa085ac144c23ce558625055f75fc4dca11ed538 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Tue, 19 Aug 2014 18:10:15 +0100 Subject: [PATCH] Missed one obvious Windows API use. --- src/gui/main_win.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/main_win.cpp b/src/gui/main_win.cpp index bb33ec30..526509c0 100644 --- a/src/gui/main_win.cpp +++ b/src/gui/main_win.cpp @@ -58,7 +58,9 @@ CefSettings GetCefSettings() { return cef_settings; } +#ifdef _WIN32 int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { +#endif // Do all the standard CEF setup stuff. //------------------------------------- @@ -68,7 +70,9 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmd void * sandbox_info = scoped_sandbox.sandbox_info(); // Read command line arguments. +#ifdef _WIN32 CefMainArgs main_args(hInstance); +#endif // Create the process reference. CefRefPtr app(new loot::LootApp);