diff options
Diffstat (limited to 'src/flexint.h')
-rw-r--r-- | src/flexint.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flexint.h b/src/flexint.h index f9fa80c..43bb3a8 100644 --- a/src/flexint.h +++ b/src/flexint.h @@ -58,6 +58,10 @@ typedef unsigned int flex_uint32_t; #define UINT32_MAX (4294967295U) #endif +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + #endif /* ! C99 */ #endif /* ! FLEXINT_H */ |