summaryrefslogtreecommitdiff
path: root/ext/Win32API/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Win32API/extconf.rb')
-rw-r--r--ext/Win32API/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Win32API/extconf.rb b/ext/Win32API/extconf.rb
index 5af3243d96..f8d78e1465 100644
--- a/ext/Win32API/extconf.rb
+++ b/ext/Win32API/extconf.rb
@@ -1,4 +1,4 @@
-case PLATFORM
+case RUBY_PLATFORM
when /cygwin/,/mingw/
$CFLAGS = "-fno-defer-pop"
create_makefile("Win32API")