plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 186a31de6b2624cb38e0555b10cef47578cf2911
parent 6850febee1ff0eaa5e548209f211aaaa762e07e4
Author: rsc <devnull@localhost>
Date:   Mon, 27 Dec 2004 00:12:12 +0000

add for porting

Diffstat:
Asrc/libregexp/lib9.std.h | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h @@ -0,0 +1,10 @@ +#include <fmt.h> +#include <setjmp.h> +#include <string.h> +#include <stdlib.h> +#include <unistd.h> + +#define exits(x) exit(x && *x ? 1 : 0) + +#define nil 0 +