Skip to content
Snippets Groups Projects
Commit 4dba053f authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Guard _unlock_file() with _MSC_VER, not _WIN32 (mingw doesn't have it)

parent e9a20f38
No related branches found
No related tags found
No related merge requests found
......@@ -1013,7 +1013,7 @@ int ansi_initciolib(long inmode)
void ansi_suspend(void)
{
#if defined _WIN32
#if defined _MSC_VER
// Prevents the wait for a key press when exit() is called and the stdin stream is flushed
_unlock_file(stdin);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment