-#include <crtdll/io.h>
-#include <crtdll/sys/stat.h>
+#include <msvcrt/io.h>
+#include <msvcrt/sys/stat.h>
+#define NDEBUG
+#include <msvcrt/msvcrtdbg.h>
+/*
+ * @implemented
+ */
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))