SameBoy/Windows/unistd.h

8 lines
164 B
C
Raw Permalink Normal View History

2020-05-31 18:54:54 +00:00
#include <io.h>
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#define read(...) _read(__VA_ARGS__)
#define write(...) _write(__VA_ARGS__)