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 | 99b9eaaa68536d56ef4b63add25428c1e16cf0c4 (patch) | |
tree | a7894a1d9fe81ed81e5a1a5fab9ae2987b445cbe /win32/win32.c | |
parent | 5a99317830b640fc76f9def256c3e5d97ee807d3 (diff) | |
download | ruby-99b9eaaa68536d56ef4b63add25428c1e16cf0c4.tar.gz |
* win32/win32.c (rb_w32_map_errno): exported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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 d9178da13b..48be4df66e 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -166,8 +166,8 @@ static struct { { WSAEMFILE, EMFILE }, }; -static int -map_errno(DWORD winerr) +int +rb_w32_map_errno(DWORD winerr) { int i; @@ -187,6 +187,8 @@ map_errno(DWORD winerr) return EINVAL; } +#define map_errno rb_w32_map_errno + static char *NTLoginName; #ifdef WIN95 |