summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-08-14 07:52:20 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:38 +0900
commit72d071540ce5bc249ebd986596eb7c3db77e0bfb (patch)
tree482dc514dbbfefe930db0b0926a58b61cc9a4b09 /include/mrbconf.h
parentdea185e687a08cab39418f4a9782ef75a9871557 (diff)
downloadmruby-72d071540ce5bc249ebd986596eb7c3db77e0bfb.tar.gz
mruby-72d071540ce5bc249ebd986596eb7c3db77e0bfb.zip
Rename `MRB_METHOD_T_STRUCT` to `MRB_USE_METHOD_T_STRUCT`.
It's the first change of renaming configuration options to `MRB_XXX` to `MRB_USE_XXX` or `MRB_NO_XXX`.
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 3241346b2..734ec98e7 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -47,13 +47,13 @@
/* size of the method cache (need to be the power of 2) */
//#define MRB_METHOD_CACHE_SIZE (1<<8)
-/* add -DMRB_METHOD_T_STRUCT on machines that use higher bits of pointers */
-/* no MRB_METHOD_T_STRUCT requires highest 2 bits of function pointers to be zero */
-#ifndef MRB_METHOD_T_STRUCT
+/* add -DMRB_USE_METHOD_T_STRUCT on machines that use higher bits of function pointers */
+/* no MRB_USE_METHOD_T_STRUCT requires highest 2 bits of function pointers to be zero */
+#ifndef MRB_USE_METHOD_T_STRUCT
// can't use highest 2 bits of function pointers at least on 32bit
// Windows and 32bit Linux.
# ifdef MRB_32BIT
-# define MRB_METHOD_T_STRUCT
+# define MRB_USE_METHOD_T_STRUCT
# endif
#endif