1 /* Wrapper around the values.h/limits.h includes/ifdefs */ 2 /* $Id$ */ 3 4 #ifdef HAVE_VALUES_H 5 # include <values.h> 6 #endif /* HAVE_VALUES_H */ 7 /* limits.h is included in sh.h */ 8 9 #ifndef DMAXEXP 10 # define DMAXEXP 128 /* should be big enough */ 11 #endif 12 13 #ifndef BITSPERBYTE 14 # ifdef CHAR_BIT 15 # define BITSPERBYTE CHAR_BIT 16 # else 17 # define BITSPERBYTE 8 /* probably true.. */ 18 # endif 19 #endif 20 21 #ifndef BITS 22 # define BITS(t) (BITSPERBYTE * sizeof(t)) 23 #endif 24