blob: 66f22b6dc64e3174a4bd5ba1eec0be9a7ad6420a [file] [log] [blame]
#pragma once
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef unsigned long size_t;
typedef signed long ssize_t;
typedef _Bool bool;
enum
{
false = 0,
true,
};
#define NULL 0
#define MIN(a, b) ((a)>(b)?(b):(a))
#define MAX(a, b) ((a)>(b)?(a):(b))
// Coerce into 1 or 0
#define BOOL(a) (!(!(a)))