Make "isatty" function available on windows in interactive_graphviz.

PiperOrigin-RevId: 293031242
Change-Id: Ib115058cec15b47f10493413bbbe7d36b0befadb
This commit is contained in:
Gunhan Gulsoy 2020-02-03 16:24:09 -08:00 committed by TensorFlower Gardener
parent cf25e067a5
commit e900c639a9

View File

@ -48,6 +48,10 @@ limitations under the License.
#include "util/readline/readline.h"
#endif
#if defined(PLATFORM_WINDOWS)
#define isatty _isatty
#endif
namespace xla {
namespace tools {
namespace {