diff options
author | Casey Dahlin <sadmac@google.com> | 2015-09-10 19:13:49 -0700 |
---|---|---|
committer | Casey Dahlin <sadmac@google.com> | 2015-09-10 19:13:49 -0700 |
commit | 3e50f04dfa034185e8b661940d90542e2e14f85a (patch) | |
tree | 8d418c9ec8a71aeb31ac197cd71f103b746ad8bc /tools/aidl/aidl_language.cpp | |
parent | 2535cae005512494469fc5cea1fe630288ecb083 (diff) |
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>
Diffstat (limited to 'tools/aidl/aidl_language.cpp')
-rw-r--r-- | tools/aidl/aidl_language.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/aidl/aidl_language.cpp b/tools/aidl/aidl_language.cpp index e2540658b620..4eb3faecb574 100644 --- a/tools/aidl/aidl_language.cpp +++ b/tools/aidl/aidl_language.cpp @@ -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; |