libww libww
WWitch compatibility library for the Wonderful toolchain
Loading...
Searching...
No Matches
stdlib.h
Go to the documentation of this file.
1#include <sys/types.h>
2
3#ifndef __LIBWW_STDLIB_H__
4#define __LIBWW_STDLIB_H__
5
6#include <stdint.h>
7
8// The WonderWitch stdlib.h augments the libc-provided stdlib.h with some
9// additional, non-standard instructions.
10#include_next <stdlib.h>
11
12#define min(a, b) ((a) < (b) ? (a) : (b))
13#define max(a, b) ((a) > (b) ? (a) : (b))
14
15#endif /* __LIBWW_STDLIB_H__ */