summaryrefslogtreecommitdiffstats
path: root/vec_pseudo.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-04-23 03:05:31 +0300
committerErik Schnetter <schnetter@gmail.com>2013-04-23 03:05:31 +0300
commit733e3d36757bb3d8cd9d3b2a7a24eae29ea5238f (patch)
tree35cac55892d6c32eaf8a7ff737dbd787965a645d /vec_pseudo.h
parentf224252c1abedf20623b953b9e62deee56073035 (diff)
downloadvecmathlib-733e3d36757bb3d8cd9d3b2a7a24eae29ea5238f.zip
vecmathlib-733e3d36757bb3d8cd9d3b2a7a24eae29ea5238f.tar.gz
Describe aligned via attribute((aligned)) instead of alignas
Diffstat (limited to 'vec_pseudo.h')
-rw-r--r--vec_pseudo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vec_pseudo.h b/vec_pseudo.h
index fb50a32..95894fd 100644
--- a/vec_pseudo.h
+++ b/vec_pseudo.h
@@ -49,7 +49,7 @@ namespace vecmathlib {
- alignas(sizeof(bvector_t)) bvector_t v;
+ bvector_t v __attribute__((__aligned__(sizeof(bvector_t))));
boolpseudovec() {}
// Can't have a non-trivial copy constructor; if so, objects won't
@@ -150,7 +150,7 @@ namespace vecmathlib {
- alignas(sizeof(ivector_t)) ivector_t v;
+ ivector_t v __attribute__((__aligned__(sizeof(ivector_t))));
intpseudovec() {}
// Can't have a non-trivial copy constructor; if so, objects won't
@@ -471,7 +471,7 @@ namespace vecmathlib {
- alignas(sizeof(vector_t)) vector_t v;
+ vector_t v __attribute__((__aligned__(sizeof(vector_t))));
realpseudovec() {}
// Can't have a non-trivial copy constructor; if so, objects won't
OpenPOWER on IntegriCloud