From c0a4fa7dadf15f75c7d51ffd36b0a5275094ed40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 8 Dec 2014 10:57:24 +0100
Subject: [PATCH] Build: Yet another strdup() fix...

---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 511cb4bf44..044ac91bf4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -101,7 +101,7 @@ static void set_master(const char *file)
 #ifdef DEBUG_MALLOC
 #undef strdup /* We can't use dmalloc strdup before pike_memory is initialized. */
 #endif /* DEBUG_MALLOC */
-#if !defined(__NT__) && !defined(strdup)
+#if defined(__NT__) && !defined(strdup)
   /* strdup() is broken on WIN32, but _strdup() isn't... */
 #define strdup _strdup
 #endif /* __NT__ */
-- 
GitLab