Ruby: include/ruby/subst.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

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