--- gforth/engine/engine.c 2006/10/21 22:13:49 1.91 +++ gforth/engine/engine.c 2006/10/27 21:47:02 1.94 @@ -97,8 +97,20 @@ extern int gforth_memcmp(const char * s1 #endif #define NEWLINE '\n' -#define CELL_MIN (((Cell)1)<<(sizeof(Cell)*CHAR_BIT-1)) + +/* These two flags control whether divisions are checked by software. + The CHECK_DIVISION_SW is for those cases where the event is a + division by zero or overflow on the C level, and might be reported + by hardware; we might check forr that in autoconf and set the + switch appropriately, but currently don't. The CHECK_DIVISION flag + is for the other cases. */ +#ifdef GFORTH_DEBUGGING +#define CHECK_DIVISION_SW 1 #define CHECK_DIVISION 1 +#else +#define CHECK_DIVISION_SW 0 +#define CHECK_DIVISION 0 +#endif /* conversion on fetch */