aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl.c
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-25 20:40:57 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-25 20:40:57 +0000
commit0a39c5748964df1bc9d742d25a97965d09cd0601 (patch)
treeecc8fbb18171db14cfc9b15be77f0d2b27ea5f13 /ext/openssl/ossl.c
parentd89358aba3e24fccd8215a8bbd101249e4ae5f8b (diff)
downloadruby-0a39c5748964df1bc9d742d25a97965d09cd0601.tar.gz
* ext/openssl/ossl.h: fix comment.
* ext/openssl/ossl.c (ossl_debug): should enable if no va-args macro supplied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl.c')
-rw-r--r--ext/openssl/ossl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c
index 559f8806af..9e476cb5af 100644
--- a/ext/openssl/ossl.c
+++ b/ext/openssl/ossl.c
@@ -431,8 +431,9 @@ ossl_raise(VALUE exc, const char *fmt, ...)
*/
VALUE dOSSL;
-#if defined(NT) || defined(_WIN32)
-void ossl_debug(const char *fmt, ...)
+#if !defined(HAVE_VA_ARGS_MACRO)
+void
+ossl_debug(const char *fmt, ...)
{
va_list args;