X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b3677b425b9cc6949c1573d59ac772540cbf4b2..7ea13a508781359049cc52ad576ba66b2c320721:/src/xbt/automaton/parserPromela.lex diff --git a/src/xbt/automaton/parserPromela.lex b/src/xbt/automaton/parserPromela.lex index 2be47f27c0..b93895b4e8 100644 --- a/src/xbt/automaton/parserPromela.lex +++ b/src/xbt/automaton/parserPromela.lex @@ -8,6 +8,17 @@ %{ +#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 #include "parserPromela.tab.hacc"