]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
define ULLONG_MAX if not already defined
authorMark Andrews <marka@isc.org>
Thu, 20 Jun 2019 05:29:20 +0000 (15:29 +1000)
committerMark Andrews <marka@isc.org>
Mon, 24 Jun 2019 23:42:49 +0000 (09:42 +1000)
lib/dns/gen.c

index bc419575be2c27f797cfd37e636e3534ae4b698a..8fd3058e1cae8a7d1a675c7a86e09c32dfb702f1 100644 (file)
 #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", \