A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
define isatty() on architectures that lack it
[simgrid.git]
/
src
/
xbt
/
automaton
/
parserPromela.lex
diff --git
a/src/xbt/automaton/parserPromela.lex
b/src/xbt/automaton/parserPromela.lex
index 2be47f27c00b2ba1c5d3735c97a5f91e6dcb03b5..04384ea842dbb6e5d5a5590f7df969bdeeccdeb0 100644
(file)
--- a/
src/xbt/automaton/parserPromela.lex
+++ b/
src/xbt/automaton/parserPromela.lex
@@
-8,6
+8,13
@@
%{
+#include "simgrid_config.h"
+#ifndef HAVE_UNISTD_H
+#define YY_NO_UNISTD_H /* hello Windows */
+static int isatty(int fd) {
+ return 0;
+}
+#endif
#include <stdio.h>
#include "parserPromela.tab.hacc"