From 3179d23cee8d972d93f61e205a359c4ecf0cf54c Mon Sep 17 00:00:00 2001 From: stijn Date: Fri, 14 Aug 2015 12:04:23 +0200 Subject: windows: Make unistd.h more posix compatible - add SEEK_XXX definitions, this fixes missing definition in py/stream.c - move R_OK from realpath.c and add W_OK/F_OK defintions - move STDXXX_FILENO definitions from mpconfigport for consistency --- windows/realpath.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'windows/realpath.c') diff --git a/windows/realpath.c b/windows/realpath.c index 2fd86aa27..c0ed6b84d 100644 --- a/windows/realpath.c +++ b/windows/realpath.c @@ -26,11 +26,7 @@ #include #include -#include - -#ifndef R_OK - #define R_OK 4 -#endif +#include // Make sure a path only has forward slashes. char *to_unix_path(char *p) { -- cgit v1.2.3