summaryrefslogtreecommitdiff
path: root/lib/getdelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getdelim.c')
-rw-r--r--lib/getdelim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getdelim.c b/lib/getdelim.c
index 8ae887e531..ec50af1149 100644
--- a/lib/getdelim.c
+++ b/lib/getdelim.c
@@ -50,7 +50,7 @@
static void
alloc_failed (void)
{
-#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+#if defined _WIN32 && ! defined __CYGWIN__
/* Avoid errno problem without using the realloc module; see:
https://lists.gnu.org/r/bug-gnulib/2016-08/msg00025.html */
errno = ENOMEM;