Tentative fix test with Clang

This commit is contained in:
Christophe Riccio
2017-08-07 23:34:36 +02:00
parent 36178f91e9
commit 59c11d9531

View File

@@ -1,7 +1,7 @@
#include <glm/gtc/type_precision.hpp> #include <glm/gtc/type_precision.hpp>
#include <glm/gtc/quaternion.hpp> #include <glm/gtc/quaternion.hpp>
#include <vector> #include <vector>
#if GLM_HAS_OPENMP #if GLM_HAS_OPENMP && 0
# include <omp.h> # include <omp.h>
#endif #endif
@@ -848,7 +848,7 @@ static int test_fvec_conversion()
return Error; return Error;
} }
#if GLM_HAS_OPENMP #if GLM_HAS_OPENMP && 0
static int test_openmp() static int test_openmp()
{ {
std::vector<glm::u8vec3> VectorA(1000); std::vector<glm::u8vec3> VectorA(1000);
@@ -875,7 +875,7 @@ int main()
{ {
int Error = 0; int Error = 0;
# if GLM_HAS_OPENMP # if GLM_HAS_OPENMP && 0
Error += test_openmp(); Error += test_openmp();
# endif// # endif//