kern
This commit is contained in:
parent
e790286787
commit
cab6798448
9
ls9.c
9
ls9.c
|
@ -28,11 +28,18 @@
|
|||
#include <ctype.h>
|
||||
#include <ape/limits.h>
|
||||
#include <ape/signal.h>
|
||||
#define size_t uvlong
|
||||
#define bye(x) exits((x)? "error": NULL)
|
||||
#define ptrdiff_t vlong
|
||||
#endif
|
||||
|
||||
#ifdef native
|
||||
#include "kern/u.h"
|
||||
#include "kern/kern.h"
|
||||
#define bye(x) reboot()
|
||||
#define NULL nil
|
||||
#define FILE int //There are no files but we need pointers for data streams
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Tunable parameters
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue