* Agreement provided with the Software.
*/
-#ifdef Q_OS_WIN32
-
#include "winconsole.h"
-#define _CRT_SECURE_NO_WARNINGS
+#define _CRT_SECURE_NO_DEPRECATE
#include <windows.h>
#include <stdio.h>
-using namespace eVaf::GUI::Internal;
-
-void enableWinConsole()
+void eVaf::GUI::Internal::enableWinConsole()
{
AllocConsole();
freopen("conin$", "r", stdin);
freopen("conout$", "w", stderr);
}
-#undef _CRT_SECURE_NO_WARNINGS
-
-#endif
+#undef _CRT_SECURE_NO_DEPRECATE