aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/subst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/subst.h b/include/ruby/subst.h
index cd12f0f341..79a5165cfb 100644
--- a/include/ruby/subst.h
+++ b/include/ruby/subst.h
@@ -17,7 +17,7 @@
#define close ruby_close
#endif
-#ifdef __WIN32__
+#ifdef _WIN32
#undef inet_ntop
#define inet_ntop(f,a,n,l) rb_w32_inet_ntop(f,a,n,l)