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:
parent
d89358aba3
commit
0a39c57489
3 changed files with 11 additions and 3 deletions
|
@ -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>
|
Sat Jul 26 04:04:36 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* ext/openssl/extconf.rb: refine va-args macro detection.
|
* ext/openssl/extconf.rb: refine va-args macro detection.
|
||||||
|
|
|
@ -431,8 +431,9 @@ ossl_raise(VALUE exc, const char *fmt, ...)
|
||||||
*/
|
*/
|
||||||
VALUE dOSSL;
|
VALUE dOSSL;
|
||||||
|
|
||||||
#if defined(NT) || defined(_WIN32)
|
#if !defined(HAVE_VA_ARGS_MACRO)
|
||||||
void ossl_debug(const char *fmt, ...)
|
void
|
||||||
|
ossl_debug(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ void ossl_debug(const char *, ...);
|
||||||
#define OSSL_Debug ossl_debug
|
#define OSSL_Debug ossl_debug
|
||||||
#define OSSL_Warning rb_warning
|
#define OSSL_Warning rb_warning
|
||||||
#define OSSL_Warn rb_warn
|
#define OSSL_Warn rb_warn
|
||||||
#endif /* __GNUC__ || _STDC_VERSION__ >= 199901L */
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Include all parts
|
* Include all parts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue