From: Nobuyoshi Nakada Date: 2011-11-17T15:30:16+09:00 Subject: [ruby-core:41092] Re: Why doesn’t mkmf’s have_macro add a HAVE_X to $defs? Hi, At Thu, 17 Nov 2011 03:24:31 +0900, Nikolai Weibull wrote in [ruby-core:41079]: > Why doesn't mkmf's have_macro add a HAVE_X to $defs if the macro is defined? You can simply use "#ifdef X". Why do you need a macro just tells if another macro is defined? -- Nobu Nakada