summaryrefslogtreecommitdiff
path: root/wince
diff options
context:
space:
mode:
Diffstat (limited to 'wince')
-rw-r--r--wince/mkconfig_wce.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/wince/mkconfig_wce.rb b/wince/mkconfig_wce.rb
new file mode 100644
index 0000000000..4d9671cde7
--- /dev/null
+++ b/wince/mkconfig_wce.rb
@@ -0,0 +1,7 @@
+f = File.open(ARGV[0], File::WRONLY|File::APPEND)
+f.write <<EOM
+class Object
+ remove_const :RUBY_PLATFORM
+ RUBY_PLATFORM = Config::CONFIG[\"RUBY_PLATFORM\"]
+end
+EOM