diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-07 09:38:21 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-07 09:38:21 +0000 |
commit | 3e7c24fe6e4899619e3cf1c1c79b96cd361a13e2 (patch) | |
tree | 0a51db3fafff7f504f761a101d5aa8f32af77c38 /missing | |
parent | 49cb5a78a14584de5932637d16fbd4ee0733d9d3 (diff) |
* missing/close.c: undef the macro "close" to prevent infinite
recursion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r-- | missing/close.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/missing/close.c b/missing/close.c index e836bf4906..8dc6928ffd 100644 --- a/missing/close.c +++ b/missing/close.c @@ -57,6 +57,7 @@ ruby_close(int s) { int err = errno; errno = 0; +#undef close s = close(s); if (errno == ECONNRESET) { errno = 0; |