diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-20 14:55:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-20 14:55:21 +0000 |
commit | 6cb19dcbd94655ac7a73cd4d3342fa242ff155a5 (patch) | |
tree | e2e47d117de199bddfdc7eb0e74683690e763818 /win32/win32.c | |
parent | 9a4b141f97bdb5aeee38565bd5c20ea628018bd5 (diff) |
* win32/win32.c (rb_w32_map_errno): exported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c index 3c16e57df1..b602a49116 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -185,8 +185,8 @@ static struct { { WSAEMFILE, EMFILE }, }; -static int -map_errno(DWORD winerr) +int +rb_w32_map_errno(DWORD winerr) { int i; @@ -206,6 +206,8 @@ map_errno(DWORD winerr) return EINVAL; } +#define map_errno rb_w32_map_errno + static char *NTLoginName; #ifdef WIN95 |