From c1008ab51b5a01f541136a5920f665a7edd10205 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Thu, 24 Jul 2003 06:56:02 +0000 Subject: * ext/openssl/extconf.rb: add check for win32 OpenSSL libraries. * ext/openssl/extconf.rb: add check for __VA_AEGS__. * ext/openssl/ossl.h: avoid non C99 compiler errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl/ossl.h') diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 2d921f37b1..d334ad7441 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -143,7 +143,7 @@ int ossl_verify_cb(int, X509_STORE_CTX *); */ extern VALUE dOSSL; -#if defined(__GNUC__) || __STDC_VERSION__ >= 199901L +#if defined(HAVE_VA_ARGS_MACRO) #define OSSL_Debug(fmt, ...) do { \ if (dOSSL == Qtrue) { \ fprintf(stderr, "OSSL_DEBUG: "); \ -- cgit v1.2.3