summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-17 23:36:34 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-17 23:36:34 +0900
commitede3049f33f8c6cdb703784619fb4143bfe3b441 (patch)
tree6603c359fab9b0d3090ee45ef77c75eea6973604 /include
parent8399d936a233429d748888ca17a27f53a1ae3e48 (diff)
downloadmruby-ede3049f33f8c6cdb703784619fb4143bfe3b441.tar.gz
mruby-ede3049f33f8c6cdb703784619fb4143bfe3b441.zip
allow disabling Struct class
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 4b778e6de..21b8fea18 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -18,6 +18,7 @@
#undef DISABLE_KERNEL_SPRINTF /* Kernel.sprintf method */
#undef DISABLE_MATH /* Math functions */
#undef DISABLE_TIME /* Time class */
+#undef DISABLE_STRUCT /* Struct class */
#undef HAVE_UNISTD_H /* WINDOWS */
#define HAVE_UNISTD_H /* LINUX */
@@ -46,6 +47,9 @@ typedef intptr_t mrb_sym;
#ifndef DISABLE_TIME
#define ENABLE_TIME
#endif
+#ifndef DISABLE_STRUCT
+#define ENABLE_STRUCT
+#endif
#ifndef FALSE
# define FALSE 0