summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/dir.h7
-rwxr-xr-xwin32/resource.rb2
2 files changed, 0 insertions, 9 deletions
diff --git a/win32/dir.h b/win32/dir.h
index 04d87ebabc9..b1f981f257e 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -1,13 +1,6 @@
#ifndef RUBY_WIN32_DIR_H
#define RUBY_WIN32_DIR_H
-#ifdef __BORLANDC__
-# ifndef WIN32_DIR_H_
-# define WIN32_DIR_H_
-# include <sys/types.h>
-# endif
-#endif
-
#define DT_UNKNOWN 0
#define DT_DIR (S_IFDIR>>12)
#define DT_REG (S_IFREG>>12)
diff --git a/win32/resource.rb b/win32/resource.rb
index 786edb0dd65..64682335bfb 100755
--- a/win32/resource.rb
+++ b/win32/resource.rb
@@ -56,10 +56,8 @@ end
f.binmode if /mingw/ =~ RUBY_PLATFORM
f.print <<EOF
-#ifndef __BORLANDC__
#include <windows.h>
#include <winver.h>
-#endif
#{icon || ''}
VS_VERSION_INFO VERSIONINFO