From ee899778c4f6cb0d201e50996e73639eabf98704 Mon Sep 17 00:00:00 2001 From: Max Anselm Date: Sun, 29 Jul 2012 19:44:49 -0400 Subject: Define __STDC_LIMIT_MACROS for INT32_MAX in C++ --- include/mrbconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/mrbconf.h b/include/mrbconf.h index cf8217b23..b0a33aa43 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -7,6 +7,9 @@ #ifndef MRUBYCONF_H #define MRUBYCONF_H +#if defined(__cplusplus) +#define __STDC_LIMIT_MACROS +#endif #include /* configuration options: */ -- cgit v1.2.3