From 82bfbf5324e42a3f9463b08ec372c99d3432c5a6 Mon Sep 17 00:00:00 2001 From: Ross Miller <rgmiller@ornl.gov> Date: Wed, 4 Sep 2013 18:49:06 -0400 Subject: [PATCH] Last attempt to hack around the winsock issue before I give up Refs #7769 --- Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp b/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp index fba3f359c00..ba7a9d617da 100644 --- a/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp +++ b/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp @@ -1,7 +1,8 @@ // HACK! Workaround for Poco headers trying to include both winsock.h and winsock2.h // If this actually works, I'll see if I can get on an actual Windows machine and // try to sort out a better solution -#ifdef _WIN32 +#if defined(_WIN32) || defined(WIN32) + #warning "Including winsock2.h!!" #include <winsock2.h> #endif -- GitLab