1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
gotoyuzo 2003-07-25 20:40:57 +00:00
parent d89358aba3
commit 0a39c57489
3 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Sat Jul 26 05:31:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/ossl.h: fix comment.
* ext/openssl/ossl.c (ossl_debug): should enable if no va-args
macro supplied.
Sat Jul 26 04:04:36 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/extconf.rb: refine va-args macro detection.

View file

@ -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;

View file

@ -166,7 +166,7 @@ void ossl_debug(const char *, ...);
#define OSSL_Debug ossl_debug
#define OSSL_Warning rb_warning
#define OSSL_Warn rb_warn
#endif /* __GNUC__ || _STDC_VERSION__ >= 199901L */
#endif
/*
* Include all parts