diff options
author | don bright <hugh.m.bright@gmail.com> | 2011-10-10 23:01:51 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2011-10-10 23:01:51 (GMT) |
commit | a1c698f422fceeadcf50e2ad456d5e43a01c8feb (patch) | |
tree | 5b21483b358f6fc1905f865f7c29f3228cc4c4a6 /tests/OffscreenView.h | |
parent | 6251fc326842b657feb4926c9a4fbb51f152248c (diff) |
enable build of cgalpngtest under windowsXP
Diffstat (limited to 'tests/OffscreenView.h')
-rw-r--r-- | tests/OffscreenView.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/OffscreenView.h b/tests/OffscreenView.h index dd52a81..c57f07e 100644 --- a/tests/OffscreenView.h +++ b/tests/OffscreenView.h @@ -1,15 +1,21 @@ #ifndef OFFSCREENVIEW_H_ #define OFFSCREENVIEW_H_ -#ifndef __APPLE__ // Eigen SIMD alignment +// workaround Eigen SIMD alignment problems +#ifndef __APPLE__ #define EIGEN_DONT_VECTORIZE 1 #define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT 1 #endif +#ifdef _MSC_VER +#define EIGEN_DONT_ALIGN +#endif #include "OffscreenContext.h" #include <Eigen/Core> #include <Eigen/Geometry> +#ifndef _MSC_VER #include <stdint.h> +#endif class OffscreenView { |