mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
unix fix
This commit is contained in:
parent
3cbbc79a05
commit
14b4a4702c
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define OREAD O_RDONLY
|
||||
#define OWRITE O_WRONLY
|
||||
|
@ -20,3 +21,7 @@
|
|||
#define USED(x) if(x){}else
|
||||
#define create(name, mode, perm) open(name, mode|O_CREAT, perm)
|
||||
#define ERRMAX 256
|
||||
|
||||
typedef uintptr_t uintptr;
|
||||
#define uchar mk_uchar
|
||||
typedef unsigned char uchar;
|
||||
|
|
Loading…
Reference in a new issue