summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-27 01:13:21 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-27 01:13:21 +0900
commit6410cdf3bffcbbb3d97f0153720922242c4f800f (patch)
tree7c5826fd2a92291a6dee1ee6ad99cbd4872eced9 /include
parent42e1f0cdb73fc5277375349e1149a1e8083e1bf8 (diff)
downloadmruby-6410cdf3bffcbbb3d97f0153720922242c4f800f.tar.gz
mruby-6410cdf3bffcbbb3d97f0153720922242c4f800f.zip
do not undef config macros
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 21b8fea18..f496c53d9 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -15,10 +15,10 @@
/* -DDISABLE_XXXX to change to drop the feature */
#define DISABLE_REGEXP /* regular expression classes */
-#undef DISABLE_KERNEL_SPRINTF /* Kernel.sprintf method */
-#undef DISABLE_MATH /* Math functions */
-#undef DISABLE_TIME /* Time class */
-#undef DISABLE_STRUCT /* Struct class */
+//#define DISABLE_SPRINTF /* Kernel.sprintf method */
+//#define DISABLE_MATH /* Math functions */
+//#define DISABLE_TIME /* Time class */
+//#define DISABLE_STRUCT /* Struct class */
#undef HAVE_UNISTD_H /* WINDOWS */
#define HAVE_UNISTD_H /* LINUX */
@@ -38,8 +38,8 @@ typedef intptr_t mrb_sym;
#ifndef DISABLE_REGEXP
#define ENABLE_REGEXP
#endif
-#ifndef DISABLE_KERNEL_SPRINTF
-#define ENABLE_KERNEL_SPRINTF
+#ifndef DISABLE_SPRINTF
+#define ENABLE_SPRINTF
#endif
#ifndef DISABLE_MATH
#define ENABLE_MATH