Fixed build on Visual C++ 2005

This commit is contained in:
Christophe Riccio
2013-09-24 01:21:55 +02:00
parent 3b3c28a227
commit 5d7c896a3f
3 changed files with 30 additions and 4 deletions

View File

@@ -11,6 +11,9 @@
#include <glm/gtc/type_precision.hpp>
#include <glm/gtc/quaternion.hpp>
#include <vector>
#if GLM_HAS_OPENMP
# include <omp.h>
#endif
static int test_scalar_size()
{
@@ -855,8 +858,6 @@ static int test_fvec_conversion()
return Error;
}
#include <omp.h>
static int test_openmp()
{
std::vector<glm::u8vec3> VectorA(1000);