blob: 4616a6a52bce0726503f7081b53c93efb3da9e81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.3 2009/01/27 12:22:46 markd Exp $
SVN commit 910275 by bjacob
--- Eigen/src/Core/util/Memory.h.orig 2009-01-13 05:06:04.000000000 +1300
+++ Eigen/src/Core/util/Memory.h
@@ -27,7 +27,8 @@
#ifndef EIGEN_MEMORY_H
#define EIGEN_MEMORY_H
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(_WIN64)
+// for NetBSD I didn't see any clear statement in the docs, but Mark Davies is confident about this.
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(_WIN64)
#define EIGEN_MALLOC_ALREADY_ALIGNED 1
#else
#define EIGEN_MALLOC_ALREADY_ALIGNED 0
|