From 78d3a0b54e6a6404b66297a85193a3140c660e9b Mon Sep 17 00:00:00 2001
From: Dirk Zimoch <dirk.zimoch@psi.ch>
Date: Mon, 26 Oct 2015 09:51:28 +0100
Subject: [PATCH] Windows version added

---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 463d45c6..d49f9d04 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ LIB_SRCS += require_registerRecordDeviceDriver.cpp
 
 LIB_SRCS += require.c
 LIB_SRCS_vxWorks = asprintf.c strdup.c
+LIB_SRCS_WIN32 = asprintf.c
 
 require_DBD += require.dbd
 
@@ -20,6 +21,8 @@ USR_INCLUDES_Linux=-idirafter ${EPICS_BASE}/include
 
 # Pass T_A to the code
 USR_CFLAGS += -DT_A=${T_A}
-USR_CFLAGS_WIN32 += -D_WIN32_WINNT=0x501
+
+# This should really go into some global WIN32 config file
+USR_CFLAGS_WIN32 += /D_WIN32_WINNT=0x501
 
 include $(TOP)/configure/RULES
-- 
GitLab