Ruby 3.5.0dev (2025-02-22 revision 412997300569c1853c09813e4924b6df3d7e8669)
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