summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl.c
diff options
context:
space:
mode:
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;