From ae515b444b08206837a65b29871816462241979b Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Mon, 20 Jun 2016 23:36:04 +0200 Subject: [PATCH] Made unistd.h for include on Windows. --- windows/include/unistd.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 windows/include/unistd.h diff --git a/windows/include/unistd.h b/windows/include/unistd.h new file mode 100644 index 000000000..520c064e3 --- /dev/null +++ b/windows/include/unistd.h @@ -0,0 +1,12 @@ +#ifndef UNISTD_H +#define UNISTD_H + +// io.h is the Windows equivalant of unistd.h +#include + +#define F_OK 0 +#define R_OK 4 +#define W_OK 2 +#define X_OK 1 + +#endif -- 2.50.1