summaryrefslogtreecommitdiff
path: root/ruby_2_2/include/ruby/subst.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_2_2/include/ruby/subst.h')
-rw-r--r--ruby_2_2/include/ruby/subst.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/ruby_2_2/include/ruby/subst.h b/ruby_2_2/include/ruby/subst.h
deleted file mode 100644
index 1f0e6db5a4..0000000000
--- a/ruby_2_2/include/ruby/subst.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef RUBY_SUBST_H
-#define RUBY_SUBST_H 1
-
-#undef snprintf
-#undef vsnprintf
-#define snprintf ruby_snprintf
-#define vsnprintf ruby_vsnprintf
-
-#ifdef BROKEN_CLOSE
-#undef getpeername
-#define getpeername ruby_getpeername
-#undef getsockname
-#define getsockname ruby_getsockname
-#undef shutdown
-#define shutdown ruby_shutdown
-#undef close
-#define close ruby_close
-#endif
-#endif