X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e4abd3f271729beeff499da36267bfb274dd1f6d..e9f0018b823e34405847177b25a85d3facc30ae1:/src/xbt/automaton/parserPromela.lex diff --git a/src/xbt/automaton/parserPromela.lex b/src/xbt/automaton/parserPromela.lex index 7b64a62dd7..b93895b4e8 100644 --- a/src/xbt/automaton/parserPromela.lex +++ b/src/xbt/automaton/parserPromela.lex @@ -1,7 +1,24 @@ +/* Copyright (c) 2012, 2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + %option noyywrap %{ +#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"