diff options
Diffstat (limited to 'src/rt/rust_kernel.cpp')
| -rw-r--r-- | src/rt/rust_kernel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp index d014877c278..e210289cdb8 100644 --- a/src/rt/rust_kernel.cpp +++ b/src/rt/rust_kernel.cpp @@ -1,3 +1,8 @@ +// A workaround that makes INTPTR_MAX be visible +#ifdef __FreeBSD__ +#define __STDC_LIMIT_MACROS 1 +#endif + #include <vector> #include "rust_internal.h" #include "rust_util.h" |
