ape: fix name clash, have to use _SLEEP syscall instead of ape sleep in plan9 code (thanks jamos)
this fixes etimer() from ape built libdraw as posix sleep() uses seconds while plan9 uses miliseconds.
This commit is contained in:
parent
8ca102d42e
commit
1c4c82277e
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ extern vlong _NSEC(void);
|
|||
#define mallocz _MALLOCZ
|
||||
#define nsec _NSEC
|
||||
#define iounit _IOUNIT
|
||||
#define sleep _SLEEP
|
||||
|
||||
#define getwd(buf,len) getcwd(buf,len)
|
||||
#define postnote(who,pid,note) kill(pid,SIGTERM)
|
||||
|
|
Loading…
Reference in a new issue