summaryrefslogtreecommitdiff
path: root/ext/dl/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/handle.c')
-rw-r--r--ext/dl/handle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dl/handle.c b/ext/dl/handle.c
index ed042e12c7..6fc771ceb9 100644
--- a/ext/dl/handle.c
+++ b/ext/dl/handle.c
@@ -7,7 +7,7 @@
VALUE rb_cDLHandle;
-#ifdef HAVE_WINDOWS_H
+#ifdef _WIN32
# ifndef _WIN32_WCE
static void *
w32_coredll(void)
@@ -142,7 +142,7 @@ rb_dlhandle_initialize(int argc, VALUE argv[], VALUE self)
rb_secure(2);
-#if defined(HAVE_WINDOWS_H)
+#if defined(_WIN32)
if( !clib ){
HANDLE rb_libruby_handle(void);
ptr = rb_libruby_handle();