00001 #ifndef __ERROR_H__ 00002 00003 #define __ERROR_H__ 00004 00005 #define __ERROR(t,s) fprintf(stderr, "*** %s: %s[%d]: %s\n", (t), __FILE__, __LINE__, (s)) 00006 00007 #define ERROR(s) __ERROR("ERROR",s) 00008 #define INTERNAL_ERROR(s) __ERROR("INTERNAL ERROR",s) 00009 00010 #endif