summaryrefslogtreecommitdiff
path: root/wince/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'wince/resource.rb')
-rw-r--r--wince/resource.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/wince/resource.rb b/wince/resource.rb
index 4b3d1af..f407266 100644
--- a/wince/resource.rb
+++ b/wince/resource.rb
@@ -54,11 +54,10 @@ end
open(base + '.rc', "w") { |f|
f.binmode if /mingw/ =~ RUBY_PLATFORM
+ f.print("#include <windows.h>\n")
+ f.print("#include <winver.h>\n") if $wce_ver=="2.11"
+
f.print <<EOF
-#include <windows.h>
-#if _WIN32_WCE > 400
- #include <winver.h>
-#endif
#{icons}
VS_VERSION_INFO VERSIONINFO