1 #ifndef DEFAULT_H 2 #define DEFAULT_H 3 4 #include <stdlib.h> 5 6 /* default width of a column */ 7 #define DEF_COLUMNWIDTH 12 8 9 /* default precision of a printed value */ 10 #define DEF_PRECISION 2 11 12 /* default is no scientific notation for numbers */ 13 #define DEF_SCIENTIFIC 0 14 15 /* character attribute for cell and row numbers */ 16 #define DEF_NUMBER A_BOLD 17 18 /* character attribute for cell cursor */ 19 #define DEF_CELLCURSOR A_REVERSE 20 21 /* character attribute for selected menu choice */ 22 #define DEF_MENU A_REVERSE 23 24 /* maximum number of sort keys */ 25 #define MAX_SORTKEYS 8 26 27 /* maximum number of eval() nesting */ 28 #define MAX_EVALNEST 32 29 30 /* define if testing with EletricFence */ 31 #ifdef THE_ELECTRIC_FENCE 32 #undef malloc 33 #undef free 34 #undef realloc 35 #undef calloc 36 #endif 37 38 #endif