summaryrefslogtreecommitdiff
path: root/lib/cgi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r--lib/cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index 4a17c8b..e2ba314 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -186,7 +186,7 @@ $-v = false
RELEASE_DATE = "$Date$"
$-v = v
- NEEDS_BINMODE = true if /WIN/ni === PLATFORM
+ NEEDS_BINMODE = true if /WIN/ni === RUBY_PLATFORM
PATH_SEPARATOR = {'UNIX'=>'/', 'WINDOWS'=>'\\', 'MACINTOSH'=>':'}
HTTP_STATUS = {