From b0d0aba99d3217a16a1522a760f56c32fb2c2cbc Mon Sep 17 00:00:00 2001 From: Sebastian Held Date: Mon, 26 Apr 2010 10:22:32 +0200 Subject: [PATCH] older compilers do not define __SIZEOF_FLOAT__ --- tools/array_ops.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/array_ops.h b/tools/array_ops.h index 48801ff..661bd2f 100644 --- a/tools/array_ops.h +++ b/tools/array_ops.h @@ -18,9 +18,11 @@ #ifndef ARRAY_OPS_H #define ARRAY_OPS_H +#ifdef __SIZEOF_FLOAT__ #if __SIZEOF_FLOAT__ != 4 #error wrong size of float #endif +#endif typedef float v4sf __attribute__ ((vector_size (16))); // vector of four single floats