From a87784c1255644b2d93c805ff7dfbf44db6c4eca Mon Sep 17 00:00:00 2001 From: Christophe Date: Wed, 7 Aug 2019 14:25:12 +0200 Subject: [PATCH] Fixed C++98 build --- test/ext/ext_scalar_integer.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/ext/ext_scalar_integer.cpp b/test/ext/ext_scalar_integer.cpp index 2917bf05..3b2c4c15 100644 --- a/test/ext/ext_scalar_integer.cpp +++ b/test/ext/ext_scalar_integer.cpp @@ -4,6 +4,8 @@ #include #include #include + +#if GLM_LANG & GLM_LANG_CXX11_FLAG #include namespace isPowerOfTwo @@ -673,3 +675,12 @@ int main() return Error; } + +#else + +int main() +{ + return 0; +} + +#endif