From f0886ea4ab50491bd7cf056d8ed576cd939acd3e Mon Sep 17 00:00:00 2001 From: cherierm Date: Mon, 22 Oct 2007 09:06:52 +0000 Subject: [PATCH] Visual C++ already declare the isatty function in io.h. So this change avoids a warning for this compiler. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4842 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/graphxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/graphxml.c b/src/xbt/graphxml.c index 713c7bf451..2b1a8efbb6 100644 --- a/src/xbt/graphxml.c +++ b/src/xbt/graphxml.c @@ -2654,7 +2654,7 @@ static void xbt_graph_parse__load_buffer_state (void) xbt_graph_parse_free((void *) b ); } -#ifndef __cplusplus +#if !defined(__cplusplus) && !defined(WIN32) extern int isatty (int ); #endif /* __cplusplus */ -- 2.20.1