#ifndef __USUALS_H__ #define __USUALS_H__ #include #include "config.h" #include #include #include #include #include "compat.h" #ifndef NULL #define NULL 0 #endif #ifndef max #define max(a,b) (((a) > (b)) ? (a) : (b)) #endif #ifndef min #define min(a,b) (((a) < (b)) ? (a) : (b)) #endif #define countof(x) (sizeof(x) / sizeof(x[0])) #ifdef _DEBUG #include "assert.h" #define ASSERT assert #else #define ASSERT #endif #endif /* __USUALS_H__ */