diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-31 11:06:25 +0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 10:07:03 -0700 |
commit | 7b583fbae80ffaa472416c16cc36f767ed00f5c3 (patch) | |
tree | 11134ed3a7f6540b7543aab464faed3f3d17651c | |
parent | 3cd09edcb741161ecdeb301314f360b3475bb63d (diff) |
Emscripten requires different #s for stdio fds.
-rw-r--r-- | system/include/libc/unistd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/include/libc/unistd.h b/system/include/libc/unistd.h index a00a9c4f..19158b67 100644 --- a/system/include/libc/unistd.h +++ b/system/include/libc/unistd.h @@ -7,9 +7,9 @@ extern "C" { #include <features.h> -#define STDIN_FILENO 0 -#define STDOUT_FILENO 1 -#define STDERR_FILENO 2 +#define STDIN_FILENO 1 +#define STDOUT_FILENO 2 +#define STDERR_FILENO 3 #define SEEK_SET 0 #define SEEK_CUR 1 |