Ruby: include/ruby/subst.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

subst.h
1#ifndef RUBY_SUBST_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RUBY_SUBST_H 1
11#undef snprintf
12#undef vsnprintf
13#define snprintf ruby_snprintf
14#define vsnprintf ruby_vsnprintf
15
16#ifdef BROKEN_CLOSE
17#undef getpeername
18#define getpeername ruby_getpeername
19#undef getsockname
20#define getsockname ruby_getsockname
21#undef shutdown
22#define shutdown ruby_shutdown
23#undef close
24#define close ruby_close
25#endif
26#endif