X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bd4f21b5af54d121b6bee1717c8878cff5bf66bd..e9f0018b823e34405847177b25a85d3facc30ae1:/src/xbt/automaton/parserPromela.lex diff --git a/src/xbt/automaton/parserPromela.lex b/src/xbt/automaton/parserPromela.lex index 04384ea842..b93895b4e8 100644 --- a/src/xbt/automaton/parserPromela.lex +++ b/src/xbt/automaton/parserPromela.lex @@ -11,9 +11,13 @@ #include "simgrid_config.h" #ifndef HAVE_UNISTD_H #define YY_NO_UNISTD_H /* hello Windows */ -static int isatty(int fd) { - return 0; -} + +#ifdef _MSC_VER +# include +# include +# define _CRT_SECURE_NO_WARNINGS +# define _CRT_NONSTDC_NO_WARNINGS +#endif #endif #include