From a600ab0e44f34710e53492b898ca426cab6ce762 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Fri, 25 Jul 2003 19:16:19 +0000 Subject: * ext/openssl/extconf.rb: refine va-args macro detection. [ruby-talk:76983] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 04827ff49..2f1ddfc94 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -103,7 +103,7 @@ have_func("BN_mod_sub") have_func("BN_rand_range") have_func("BN_pseudo_rand_range") have_func("CONF_get1_default_config_file") -if try_cpp("#define FOO(a, ...) foo(a, ##__VA_ARGS__)\n") +if try_cpp("#define FOO(a, ...) foo(a, ##__VA_ARGS__)\n int x(){FOO(1,2);}\n") $defs.push("-DHAVE_VA_ARGS_MACRO") end have_header("openssl/ocsp.h") -- cgit