From c5b0ca668258f0e386bcb0b12cf3628899d6bc12 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 8 Jan 2023 23:43:21 +0000 Subject: make Ruby headers less intrusive By including them at the bottom. This will be done for Perl headers in the future, too, since they break assert(). --- ext/mwrap/httpd.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ext/mwrap/httpd.h') diff --git a/ext/mwrap/httpd.h b/ext/mwrap/httpd.h index da7ff6d..03aef9f 100644 --- a/ext/mwrap/httpd.h +++ b/ext/mwrap/httpd.h @@ -43,14 +43,6 @@ #define TYPE_CSV "text/csv" #define TYPE_PLAIN "text/plain" -/* - * C ruby defines snprintf to ruby_snprintf, we can't have that in - * non-ruby processes spawned by C ruby - */ -#if MWRAP_RUBY && defined(snprintf) -# undef snprintf -#endif - enum mw_qev { MW_QEV_IGNORE = 0, MW_QEV_RD = POLLIN, -- cgit v1.2.3-24-ge0c7