From 7c7cf006ca1da395c39109d25c1d6d0e11f7591b Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Thu, 12 May 2016 12:35:06 +0100 Subject: [PATCH] librb: define UINT32_MAX for FreeBSD 4.8 --- librb/include/rb_lib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/librb/include/rb_lib.h b/librb/include/rb_lib.h index d420bc9a..7646718e 100644 --- a/librb/include/rb_lib.h +++ b/librb/include/rb_lib.h @@ -203,6 +203,10 @@ char *rb_strerror(int error); #define UINT16_MAX (65535U) #endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + typedef void log_cb(const char *buffer); typedef void restart_cb(const char *buffer);