projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mono
/
metadata
/
console-win32.c
diff --git
a/mono/metadata/console-win32.c
b/mono/metadata/console-win32.c
index ff703808c3d9587a3cb6e7ed4a19b919e4cd1139..ab856f6449d1afd21506d6d46850e0e1d63e9e76 100644
(file)
--- a/
mono/metadata/console-win32.c
+++ b/
mono/metadata/console-win32.c
@@
-1,10
+1,12
@@
-/*
- * console-io.c: ConsoleDriver internal calls for Win32
+/**
+ * \file
+ * ConsoleDriver internal calls for Win32
*
* Author:
* Gonzalo Paniagua Javier (gonzalo@ximian.com)
*
* Copyright (C) 2005-2009 Novell, Inc. (http://www.novell.com)
*
* Author:
* Gonzalo Paniagua Javier (gonzalo@ximian.com)
*
* Copyright (C) 2005-2009 Novell, Inc. (http://www.novell.com)
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
#include <config.h>
*/
#include <config.h>
@@
-40,11
+42,11
@@
mono_console_handle_async_ops (void)
{
}
{
}
+#if G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
MonoBoolean
ves_icall_System_ConsoleDriver_Isatty (HANDLE handle)
{
DWORD mode;
MonoBoolean
ves_icall_System_ConsoleDriver_Isatty (HANDLE handle)
{
DWORD mode;
-
return GetConsoleMode (handle, &mode) != 0;
}
return GetConsoleMode (handle, &mode) != 0;
}
@@
-71,3
+73,4
@@
ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardow
{
return FALSE;
}
{
return FALSE;
}
+#endif /* G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */