diff options
| author | stijn | 2015-08-14 12:04:23 +0200 |
|---|---|---|
| committer | stijn | 2015-08-14 12:04:23 +0200 |
| commit | 3179d23cee8d972d93f61e205a359c4ecf0cf54c (patch) | |
| tree | 7f6bff5cd018ccb80a0426c62062afeb846c49bd /windows/mpconfigport.h | |
| parent | bdd78c31b68db5323796d93e0a17159806ce10fc (diff) | |
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
Diffstat (limited to 'windows/mpconfigport.h')
| -rw-r--r-- | windows/mpconfigport.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index a9c8b7861..f63f901f0 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -186,9 +186,6 @@ void msec_sleep(double msec); #define restrict #define inline __inline #define alignof(t) __alignof(t) -#define STDIN_FILENO 0 -#define STDOUT_FILENO 1 -#define STDERR_FILENO 2 #define PATH_MAX MICROPY_ALLOC_PATH_MAX #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) |
