Define __STDC_LIMIT_MACROS for INT32_MAX in C++

This commit is contained in:
Max Anselm
2012-07-29 19:44:49 -04:00
parent e56cd70cdb
commit ee899778c4
+3
View File
@@ -7,6 +7,9 @@
#ifndef MRUBYCONF_H
#define MRUBYCONF_H
#if defined(__cplusplus)
#define __STDC_LIMIT_MACROS
#endif
#include <stdint.h>
/* configuration options: */