From a68949eba4f01dc96340133e579f4e74439e8b9b Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 5 Jan 2020 21:09:37 +0100 Subject: [PATCH] Fixed force cxx version tests --- test/core/core_force_cxx03.cpp | 4 +++- test/core/core_force_cxx11.cpp | 4 +++- test/core/core_force_cxx98.cpp | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/test/core/core_force_cxx03.cpp b/test/core/core_force_cxx03.cpp index e71e00cd..fc6e9c5d 100644 --- a/test/core/core_force_cxx03.cpp +++ b/test/core/core_force_cxx03.cpp @@ -1,4 +1,6 @@ -#define GLM_FORCE_CXX03 +#ifndef GLM_FORCE_CXX03 +# define GLM_FORCE_CXX03 +#endif #include #include diff --git a/test/core/core_force_cxx11.cpp b/test/core/core_force_cxx11.cpp index 610ea344..cc57e08a 100644 --- a/test/core/core_force_cxx11.cpp +++ b/test/core/core_force_cxx11.cpp @@ -1,4 +1,6 @@ -#define GLM_FORCE_CXX11 +#ifndef GLM_FORCE_CXX11 +# define GLM_FORCE_CXX11 +#endif #include #include diff --git a/test/core/core_force_cxx98.cpp b/test/core/core_force_cxx98.cpp index 56422e48..42a5c259 100644 --- a/test/core/core_force_cxx98.cpp +++ b/test/core/core_force_cxx98.cpp @@ -1,4 +1,6 @@ -#define GLM_FORCE_CXX98 +#ifndef GLM_FORCE_CXX98 +# define GLM_FORCE_CXX98 +#endif #include #include