]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Move variables declaration to the beginning of the function (old C)
[stg.git] / projects / stargazer / main.cpp
index 3a9877155f2f9f373b80451738395791888e2be4..375823481175b522bdd22a5e06677b3fd6e5f854 100644 (file)
@@ -99,7 +99,11 @@ else
     }
 }
 //-----------------------------------------------------------------------------
+#ifdef LINUX
 int StartScriptExecuter(char * procName, int msgKey, int * msgID, SETTINGS_IMPL * settings)
+#else
+int StartScriptExecuter(char *, int msgKey, int * msgID, SETTINGS_IMPL * settings)
+#endif
 {
 STG_LOGGER & WriteServLog = GetStgLogger();