mirror of
https://github.com/cc65/cc65.git
synced 2025-08-07 15:25:31 +00:00
limits.h was apparently already included somewhere on windows but not linux
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
||||
/* common */
|
||||
#include "chartype.h"
|
||||
@@ -590,6 +591,7 @@ static void NumericConst (void)
|
||||
SB_Clear (&Src);
|
||||
break;
|
||||
}
|
||||
/* Test result of adding digit for overflow. */
|
||||
if (((scan_t)(IVal * Base + DigitVal) / Base) != IVal) {
|
||||
Overflow = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user