summaryrefslogtreecommitdiff
path: root/wince/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'wince/resource.rb')
-rw-r--r--wince/resource.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/wince/resource.rb b/wince/resource.rb
index 81e94a8fbd..4b3d1af400 100644
--- a/wince/resource.rb
+++ b/wince/resource.rb
@@ -55,9 +55,9 @@ end
f.binmode if /mingw/ =~ RUBY_PLATFORM
f.print <<EOF
-#ifndef __BORLANDC__
#include <windows.h>
-#include <winver.h>
+#if _WIN32_WCE > 400
+ #include <winver.h>
#endif
#{icons}