summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 2a58876c4d..42ff582fef 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -90,6 +90,7 @@ static char *w32_getenv(const char *name, UINT cp);
#undef close
#undef setsockopt
#undef dup2
+#undef strdup
#if RUBY_MSVCRT_VERSION >= 140
# define _filbuf _fgetc_nolock