* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef MINIMAL_STDLIB_H
+#define MINIMAL_STDLIB_H
+
#define _assert(expr) \
do if (!(expr)) { \
fprintf(stderr, "%s(%u): _assert(%u:%s)\n", __FILE__, __LINE__, errno, #expr); \
#define _not(type) \
((type) ~ (type) 0)
+#define _breakpoint() \
+ __asm__ { int 0x3 }
+
+#define _disused \
+ __attribute__((unused))
+
+#include <errno.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
+
+#endif/*MINIMAL_STDLIB_H*/