From b3ba2c7732c5ef0255b5e933a8d4681be0de61dd Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 20 Dec 2017 08:45:52 -0500 Subject: [PATCH] Fix USE_M64S define build warning with Clang 4.0+ --- public/mathlib/vector.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/mathlib/vector.h b/public/mathlib/vector.h index be644474..5e2a3b91 100644 --- a/public/mathlib/vector.h +++ b/public/mathlib/vector.h @@ -237,7 +237,11 @@ private: -#define USE_M64S ( ( !defined( _X360 ) ) ) +#ifdef _X360 +#define USE_M64S 1 +#else +#define USE_M64S 0 +#endif