method

have_macro

v1_9_3_125 - Show latest stable - Class: Object
have_macro(macro, headers = nil, opt = "", &b)
public

Returns whether or not macro is defined either in the common header files or within any headers you provide.

Any options you pass to opt are passed along to the compiler.