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 d1273c6..e6e9256 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);
 }