]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
I need to test this code on msvc now.
authorDale Weiler <killfieldengine@gmail.com>
Fri, 11 Oct 2013 12:08:36 +0000 (08:08 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Fri, 11 Oct 2013 12:08:36 +0000 (08:08 -0400)
msvc.c

diff --git a/msvc.c b/msvc.c
index d1273c670ee9da51203378019d87e9b5f2efc6a2..e6e925631f9b6ce3659cc02e4fc98186c14d0bea 100644 (file)
--- a/msvc.c
+++ b/msvc.c
@@ -231,5 +231,5 @@ struct dirent *platform_readdir(DIR *dir) {
 }
 
 int platform_istty(int fd) {
-    return _istty(fd);
+    return _isatty(fd);
 }