0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00

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

View file

@ -203,6 +203,10 @@ char *rb_strerror(int error);
#define UINT16_MAX (65535U) #define UINT16_MAX (65535U)
#endif #endif
#ifndef UINT32_MAX
#define UINT32_MAX (4294967295U)
#endif
typedef void log_cb(const char *buffer); typedef void log_cb(const char *buffer);
typedef void restart_cb(const char *buffer); typedef void restart_cb(const char *buffer);