зеркало из https://github.com/github/ruby.git
* 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:
Родитель
d89358aba3
Коммит
0a39c57489
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче