]> 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:47:24 +0000 (09:47 +1000)
(cherry picked from commit 4110b9184da5660372342d620700436abac25c52)

lib/dns/gen.c

index 472ce43f91e8a2889ec7f6ae7190218a39d00f19..201429f132f0c51ab542c0d9bb1968f58b7802db 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", \