Bug #4143: warning: "SUPPORT_JOKE" is not defined
http://redmine.ruby-lang.org/issues/show/4143

ɼ???: Kazuhiro NISHIYAMA
?????????: Open, ?????: Normal
????????: core
ruby -v: ruby 1.9.3dev (2010-12-10 trunk 30153) [x86_64-linux]

chkbuild ??以?????????
id.h:110:5: warning: "SUPPORT_JOKE" is not defined
id.h:116:5: warning: "SUPPORT_JOKE" is not defined
???????警????????????????????????id.h ????#if SUPPORT_JOKE??????????????????????????
SUPPORT_JOKE ??? #define ?????????? vm_opts.h ??? include ????????? id.h ?????????
include ?????????????????????????????????????????????
(debug.c ?????????? vm_core.h ????? vm_opts.h ??? include ?????????? id.h ???
include ??????????????????????????)

??????????????以???修正?警?????????????????????????

diff --git a/template/id.h.tmpl b/template/id.h.tmpl
index b91292a..29548de 100644
--- a/template/id.h.tmpl
+++ b/template/id.h.tmpl
@@ -50,6 +50,8 @@ end
 #include "parse.h"
 #endif
 
+#include "vm_opts.h" /* for SUPPORT_JOKE */
+
 #define symIFUNC ID2SYM(idIFUNC)
 #define symCFUNC ID2SYM(idCFUNC)


----------------------------------------
http://redmine.ruby-lang.org