summaryrefslogtreecommitdiff
path: root/win32/dir.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-19 12:28:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-19 12:28:14 +0000
commit224021104d13cbb060cdf87914361503226e4adf (patch)
tree031fbe4a5718e95bb0d6e6b9038542c5d6cf7fb9 /win32/dir.h
parent22c005569b8cd00ea6895dcc7b621b80d9f15068 (diff)
* ext/digest/defs.h, win32/win3.c, win32/win32.h, file.c: remove
useless casts for Borland C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/dir.h')
-rw-r--r--win32/dir.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/dir.h b/win32/dir.h
index 1f1f666..e12c6e1 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -1,3 +1,6 @@
+#ifndef RUBY_WIN32_DIR_H
+#define RUBY_WIN32_DIR_H
+
#ifdef __BORLANDC__
# ifndef WIN32_DIR_H_
# define WIN32_DIR_H_
@@ -37,3 +40,5 @@ void rb_w32_closedir(DIR *);
#define seekdir rb_w32_seekdir
#define rewinddir rb_w32_rewinddir
#define closedir rb_w32_closedir
+
+#endif /* RUBY_WIN32_DIR_H */