Fixed: Compilation under Linux

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent be92ac8e60
commit 30d7571aad

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

Loading…
Cancel
Save