Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Visual C++ already declare the isatty function in io.h. So this change avoids a warni...
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 22 Oct 2007 09:06:52 +0000 (09:06 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 22 Oct 2007 09:06:52 +0000 (09:06 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4842 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/graphxml.c

index 713c7bf..2b1a8ef 100644 (file)
@@ -2654,7 +2654,7 @@ static void xbt_graph_parse__load_buffer_state  (void)
        xbt_graph_parse_free((void *) b  );
 }
 
        xbt_graph_parse_free((void *) b  );
 }
 
-#ifndef __cplusplus
+#if !defined(__cplusplus) && !defined(WIN32) 
 extern int isatty (int );
 #endif /* __cplusplus */
     
 extern int isatty (int );
 #endif /* __cplusplus */