#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 <io.h>
+# include <process.h>
+# define _CRT_SECURE_NO_WARNINGS
+# define _CRT_NONSTDC_NO_WARNINGS
+#endif
#endif
#include <stdio.h>