summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-17 06:47:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-17 06:47:58 +0000
commit027375e5cdd7b12fea223da8dd5c48030e7c05b5 (patch)
tree9dfc9ab0965e633e5b04a46539a1cf17886cd919 /dir.c
parent5339741c7c6fd6d8195b5f2169181499a6199e2c (diff)
* dir.c (READDIR): this branch doesn't have rb_w32_readdir_with_enc().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 84a3816b8..16761b564 100644
--- a/dir.c
+++ b/dir.c
@@ -480,8 +480,6 @@ dir_path(VALUE dir)
#if defined HAVE_READDIR_R
# define READDIR(dir, enc, entry, dp) (readdir_r(dir, entry, &(dp)) == 0 && dp != 0)
-#elif defined _WIN32
-# define READDIR(dir, enc, entry, dp) ((dp = rb_w32_readdir_with_enc(dir, enc)) != 0)
#else
# define READDIR(dir, enc, entry, dp) ((dp = readdir(dir)) != 0)
#endif