2010-10-13から1日間の記事一覧
try_funcがgcc warning出すのを避けるぱっち require 'mkmf' # replace f**king try_func def try_func(func, libs, headers = nil, &b) headers = cpp_include(headers) try_link(<<"SRC", libs, &b) or #{headers} /*top*/ #{MAIN_DOES_NOTHING} int t() {…