summaryrefslogtreecommitdiffstats
path: root/vecmathlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'vecmathlib.h')
-rw-r--r--vecmathlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vecmathlib.h b/vecmathlib.h
index f5dfcf7..7956f73 100644
--- a/vecmathlib.h
+++ b/vecmathlib.h
@@ -94,8 +94,10 @@ namespace std { class type_info; }
// useful as fallback)
#include "vec_pseudo.h"
+#ifdef __clang__
// Use compiler-provided vector types
-#include "vec_builtin.h"
+# include "vec_builtin.h"
+#endif
// Scalarise all vector operations; don't use libm, use only
// Vecmathlib's functions (mostly useful for testing Vecmathlib)
OpenPOWER on IntegriCloud