Openssl can't compile with pcc

e$B@.@%$G$9!#e(B

pcc e$B$Ge(B ext/openssl
e$B$r%3%s%Q%$%k$7$h$&$H%(%i!<$,=P$^$9!#e(Bossl_ssl.c e$B$Ne(B 310
e$B9TL$J$I!"e(BOSSL_Debug() e$B$N0z?t$,0l$D$N;~$Ke(B syntax error
e$B$,=P$F$7$^$C$F$$e(B
e$B$k$h$&$G$9!#e(B

Index: ext/openssl/ossl.h

— ext/openssl/ossl.h (e$B%j%S%8%g%se(B 13652)
+++ ext/openssl/ossl.h (e$B:n6H%3%T!<e(B)
@@ -163,10 +163,10 @@
extern VALUE dOSSL;

#if defined(HAVE_VA_ARGS_MACRO)
-#define OSSL_Debug(fmt, …) do {
+#define OSSL_Debug(…) do {
if (dOSSL == Qtrue) {
fprintf(stderr, "OSSL_DEBUG: "); \

  • fprintf(stderr, fmt, ##VA_ARGS); \
  • fprintf(stderr, VA_ARGS);
    fprintf(stderr, " [%s:%d]\n", FILE, LINE);
    }
    } while (0)