diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-11-25 14:58:05 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-11-25 14:58:05 -0500 |
commit | 548b6b7ae61f6fd2913fa5475ca8c3c523823e6d (patch) | |
tree | 59529d51133de835a2e2e94b08a433ed077a6af7 /vecmathlib.h | |
parent | 36f7de41c871def89b0245748d29ac2c2dae0609 (diff) | |
download | vecmathlib-548b6b7ae61f6fd2913fa5475ca8c3c523823e6d.zip vecmathlib-548b6b7ae61f6fd2913fa5475ca8c3c523823e6d.tar.gz |
Only enable builtin vectors when clang is used
Diffstat (limited to 'vecmathlib.h')
-rw-r--r-- | vecmathlib.h | 4 |
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) |