Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
disable a warning on Visual C++
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 20 Jun 2008 11:27:41 +0000 (11:27 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 20 Jun 2008 11:27:41 +0000 (11:27 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5779 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/graphxml.c

index 9338fd6..4ad7a75 100644 (file)
@@ -370,7 +370,11 @@ void xbt_graph_parse_free (void *  );
 
 /* Begin user sect3 */
 
+#ifdef WIN32
+#define xbt_graph_parse_wrap() 1
+#else
 #define xbt_graph_parse_wrap(n) 1
+#endif
 #define YY_SKIP_YYWRAP
 
 typedef unsigned char YY_CHAR;
@@ -2718,7 +2722,9 @@ static void xbt_graph_parse__load_buffer_state  (void)
 }
 
 #ifndef __cplusplus
+#ifndef WIN32
 extern int isatty (int );
+#endif
 #endif /* __cplusplus */
     
 /* Initializes or reinitializes a buffer.