update for HEAD-2003021201
[reactos.git] / lib / crtdll / io / isatty.c
index a452414..3ed7a80 100644 (file)
@@ -1,11 +1,13 @@
-#include <crtdll/io.h>
-#include <crtdll/sys/stat.h>
+#include <msvcrt/io.h>
+#include <msvcrt/sys/stat.h>
 
+#define NDEBUG
+#include <msvcrt/msvcrtdbg.h>
 
 int _isatty( int fd )
 {
   struct stat buf;
-
+  DPRINT("_isatty(fd %d)\n", fd);
   if (_fstat (fd, &buf) < 0)
     return 0;
   if (S_ISCHR (buf.st_mode))