Fixed: Compilation under Linux

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-23 20:32:37 +01:00
parent be92ac8e60
commit 30d7571aad

View file

@ -107,6 +107,9 @@ void quitCrashReport ()
contReset(CrashCounterSock);
}
// make it global if other classes/functions want to access to it
NLMISC::CCmdArgs Args;
//---------------------------------------------------
// MAIN :
// Entry for the Application.
@ -143,9 +146,6 @@ INT_PTR CALLBACK MyDialogProc(
HWND SlashScreen = NULL;
HINSTANCE HInstance;
// make it global if other classes/functions want to access to it
NLMISC::CCmdArgs Args;
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE /* hPrevInstance */, LPSTR cmdline, int /* nCmdShow */)
#else
int main(int argc, char **argv)