summaryrefslogtreecommitdiffstats
path: root/include/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-20 14:55:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-20 14:55:21 +0000
commitcfd3f01bbce0fe43354dd4631355386682d943c7 (patch)
treea7894a1d9fe81ed81e5a1a5fab9ae2987b445cbe /include/ruby
parent31e93f3f91e79359c6bd39cd049bb2c87b1eb4c3 (diff)
downloadruby-cfd3f01bbce0fe43354dd4631355386682d943c7.tar.gz
ruby-cfd3f01bbce0fe43354dd4631355386682d943c7.tar.xz
ruby-cfd3f01bbce0fe43354dd4631355386682d943c7.zip
* win32/win32.c (rb_w32_map_errno): exported.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 3b7b11313..43036b8dc 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -240,6 +240,7 @@ extern char * rb_w32_getenv(const char *);
extern int rb_w32_rename(const char *, const char *);
extern char **rb_w32_get_environ(void);
extern void rb_w32_free_environ(char **);
+extern int rb_w32_map_errno(DWORD);
#define vsnprintf(s,n,f,l) rb_w32_vsnprintf(s,n,f,l)
#define snprintf rb_w32_snprintf