This commit is contained in:
Fulton Browne 2021-10-22 02:05:27 +00:00
parent e790286787
commit cab6798448
1 changed files with 8 additions and 1 deletions

9
ls9.c
View File

@ -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
*/