define ULLONG_MAX if not already defined

(cherry picked from commit 4110b9184d)
This commit is contained in:
Mark Andrews 2019-06-20 15:29:20 +10:00
parent 79765491c0
commit 7c963d0fc4

View file

@ -43,6 +43,10 @@
#include "gen-unix.h"
#endif
#ifndef ULLONG_MAX
#define ULLONG_MAX (~0ULL)
#endif
#define INSIST(cond) \
if (!(cond)) { \
fprintf(stderr, "%s:%d: INSIST(%s)\n", \