1 /**** << comment & keyword processor >> **** 2 * 3 * cmt.h 4 * Dec 29 1992 5 * mod: Sep 06 1993 6 ************************************************** tonooka ***********/ 7 /* 8 * @(#)cmt.h 2.1 (Y.Tonooka) 11/29/93 9 */ 10 11 #if defined DEBUG 12 13 #if defined LIBPATH 14 #undef LIBPATH 15 #endif 16 #define LIBPATH "." 17 18 #else 19 20 #if !defined LIBPATH 21 #define LIBPATH "/usr/local/lib"/* where definition files are */ 22 #endif 23 24 #endif 25 26 #define DEFSFILE "cmtdefs" /* name of deffile */ 27 28 typedef int bool; 29 30 #define numelemof(arr) (sizeof (arr) / sizeof (*(arr))) 31 32 /* 33 * Error handling function. 34 */ 35 extern void error(char *, ...); 36