10 #include <sys/param.h> // MAXPATHLEN
17 typedef unsigned char uchar
;
20 void stat(const char *fmt
, ...);
21 void staterr(const char *fmt
, ...);
26 staterr("** ASSERT FAILED: '%s' at %s(%d)", #X, __FILE__, __LINE__); \
31 #define SWAP(A, B) { A ^= B; B ^= A; A ^= B; }
34 #define MIN(A, B) ( ( (A) < (B) ) ? (A) : (B) )
38 #define MAX(A, B) ( ( (A) > (B) ) ? (A) : (B) )