summaryrefslogtreecommitdiff
path: root/ext/win32ole
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32ole')
-rw-r--r--ext/win32ole/depend2
-rw-r--r--ext/win32ole/extconf.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/win32ole/depend b/ext/win32ole/depend
index 764b9d8dbb..3b1d7e9a97 100644
--- a/ext/win32ole/depend
+++ b/ext/win32ole/depend
@@ -1 +1 @@
-win32ole.o : $(hdrdir)/ruby.h $(hdrdir)/config.h $(hdrdir)/defines.h
+win32ole.o : win32ole.c $(hdrdir)/ruby.h $(hdrdir)/config.h $(hdrdir)/defines.h
diff --git a/ext/win32ole/extconf.rb b/ext/win32ole/extconf.rb
index 4abfd3c62f..f627fcabb4 100644
--- a/ext/win32ole/extconf.rb
+++ b/ext/win32ole/extconf.rb
@@ -15,7 +15,7 @@ def create_win32ole_makefile
end
end
-case PLATFORM
+case RUBY_PLATFORM
when /mswin32/
$CFLAGS='/W3'
when /mingw/