mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adds SIZE_MAX definition
This commit is contained in:
@@ -33,6 +33,12 @@
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
|
||||
// SIZE_MAX appears to be a compiler thing not an OS header thing.
|
||||
// make sure it is defined.
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ((size_t)(-1))
|
||||
#endif
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user