about summary refs log tree commit homepage
path: root/ext/mwrap/httpd.h
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-01-08 23:43:21 +0000
committerEric Wong <e@80x24.org>2023-01-09 05:07:27 +0000
commitc5b0ca668258f0e386bcb0b12cf3628899d6bc12 (patch)
treeb497cacf963f414e82618fbc44896b08fb8849d8 /ext/mwrap/httpd.h
parentafa6a2ea602fb26a16c6f0b9408339086f2790bd (diff)
downloadmwrap-c5b0ca668258f0e386bcb0b12cf3628899d6bc12.tar.gz
By including them at the bottom.  This will be done for Perl
headers in the future, too, since they break assert().
Diffstat (limited to 'ext/mwrap/httpd.h')
-rw-r--r--ext/mwrap/httpd.h8
1 files changed, 0 insertions, 8 deletions
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,