Revert change to win32 isatty stub

This is attempting to fix build breakage caused by redefining the isatty stub
for win32.

Change-Id: I5f854934cb9d2b2981f6349045e85d9ad737aa77
Signed-off-by: Casey Dahlin <sadmac@google.com>
This commit is contained in:
Casey Dahlin
2015-09-10 19:13:49 -07:00
parent 2535cae005
commit 3e50f04dfa
2 changed files with 7 additions and 7 deletions

View File

@@ -5,6 +5,13 @@
#include <string>
#include <iostream>
#ifdef _WIN32
int isatty(int fd)
{
return (fd == 0);
}
#endif
using std::string;
using std::cerr;
using std::endl;

View File

@@ -7,13 +7,6 @@
extern YYSTYPE yylval;
#ifdef _WIN32
static inline int isatty(int fd)
{
return 0;
}
#endif
// comment and whitespace handling
// these functions save a copy of the buffer
static void begin_extra_text(unsigned lineno, which_extra_text which);