define SIZE_MAX if needed.

This commit is contained in:
Enno Rehling 2018-11-27 21:06:30 +01:00
parent d4d7394e29
commit 5520372dfa
1 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <limits.h>
#include <stdlib.h>
/* pre-C99 compatibility */
#ifndef SIZE_MAX
#define SIZE_MAX ((size_t)(-1))
#endif
#define ECHECK_VERSION "4.01"
extern int *storms;