From 40fb17dddc9ab99c75fba5654e2b500e0a4e3b6a Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 30 May 2017 18:02:38 -0400 Subject: [PATCH] Only include intrin.h on Windows --- src/backend/common/Math.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/common/Math.cpp b/src/backend/common/Math.cpp index 41af98f100..874aee0ba6 100644 --- a/src/backend/common/Math.cpp +++ b/src/backend/common/Math.cpp @@ -14,7 +14,9 @@ #include "Math.h" -#include +#if defined(_WIN32) || defined(_WIN64) + #include +#endif #include "Forward.h"