Ruby 3.5.0dev (2025-04-04 revision cd8c203ffb50fe41852f90936b701b97a0fa77e7)
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