mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
limits.h was apparently already included somewhere on windows but not linux
This commit is contained in:
parent
ca8201a314
commit
69f4cd1847
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user