From eea4866ec9af301985d3eb2f648b8c95661fae2f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 16 Jul 2015 02:46:59 +0200 Subject: Fix build for Windows/MingW64 (32bit target) --- LibOVR/Src/Service/Service_Win32_FastIPC_Client.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'LibOVR/Src/Service/Service_Win32_FastIPC_Client.cpp') diff --git a/LibOVR/Src/Service/Service_Win32_FastIPC_Client.cpp b/LibOVR/Src/Service/Service_Win32_FastIPC_Client.cpp index 22a0b4a..2bb1ff8 100644 --- a/LibOVR/Src/Service/Service_Win32_FastIPC_Client.cpp +++ b/LibOVR/Src/Service/Service_Win32_FastIPC_Client.cpp @@ -26,6 +26,12 @@ limitations under the License. #include "Service_Win32_FastIPC_Client.h" +#if !defined(OVR_CC_MSVC) +// mingw64: add definition of MemoryBarrier() and _mm_mfence() .. and the like +#include +#include +#endif /* !defined(OVR_CC_MSVC) */ + namespace OVR { namespace Service { namespace Win32 { using namespace OVR::Net; -- cgit v1.2.3