librb: define UINT32_MAX for FreeBSD 4.8

This commit is contained in:
Simon Arlott 2016-05-12 12:35:06 +01:00
parent 87f7632760
commit 7c7cf006ca
No known key found for this signature in database
GPG Key ID: C8975F2043CA5D24
1 changed files with 4 additions and 0 deletions

View File

@ -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);