summaryrefslogtreecommitdiff
path: root/include/ruby/subst.h
blob: 2287baeafe2d9cc95c6a3b90c4b8c6b5c123df23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef RUBY_SUBST_H
#define RUBY_SUBST_H 1

#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