summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dxfdata.h3
-rw-r--r--src/linalg.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/dxfdata.h b/src/dxfdata.h
index 7eea6a9..17da1b9 100644
--- a/src/dxfdata.h
+++ b/src/dxfdata.h
@@ -1,5 +1,8 @@
#ifndef DXFDATA_H_
#define DXFDATA_H_
+#ifndef EIGEN_DONT_ALIGN
+#define EIGEN_DONT_ALIGN
+#endif
#include "linalg.h"
#include <vector>
diff --git a/src/linalg.h b/src/linalg.h
index e20d8d8..744e810 100644
--- a/src/linalg.h
+++ b/src/linalg.h
@@ -1,6 +1,8 @@
#ifndef LINALG_H_
#define LINALG_H_
-
+#ifndef EIGEN_DONT_ALIGN
+#define EIGEN_DONT_ALIGN
+#endif
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <Eigen/Dense>
contact: Jan Huwald // Impressum