X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/89bb3e1fcb53da971e68a68c3e89d38221d7d9b4..62ab7fd2280a35af7c36f602852bc53fc0a56093:/src/xbt/automaton/parserPromela.lex diff --git a/src/xbt/automaton/parserPromela.lex b/src/xbt/automaton/parserPromela.lex index 1ed9b9e5f2..b93895b4e8 100644 --- a/src/xbt/automaton/parserPromela.lex +++ b/src/xbt/automaton/parserPromela.lex @@ -11,6 +11,13 @@ #include "simgrid_config.h" #ifndef HAVE_UNISTD_H #define YY_NO_UNISTD_H /* hello Windows */ + +#ifdef _MSC_VER +# include +# include +# define _CRT_SECURE_NO_WARNINGS +# define _CRT_NONSTDC_NO_WARNINGS +#endif #endif #include