diff options
author | 2009-02-02 13:22:19 +0000 | |
---|---|---|
committer | 2009-02-02 13:22:19 +0000 | |
commit | f3d5ba0c1f6d18edb9701776e46fa23edfe1e316 (patch) | |
tree | b15241afbe630908012d77bed56882d35d6c5eeb /Eigen/src/Core/util/Memory.h | |
parent | 42c4bc0ecff98b9955b280ead1b2a800a7ae5210 (diff) |
the BSD's don't have aligned malloc after all
Diffstat (limited to 'Eigen/src/Core/util/Memory.h')
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index 3f30bca56..8afd81828 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -2,7 +2,7 @@ // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> -// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> +// Copyright (C) 2008-2009 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2009 Kenneth Riddile <kfriddile@yahoo.com> // // Eigen is free software; you can redistribute it and/or @@ -27,8 +27,7 @@ #ifndef EIGEN_MEMORY_H #define EIGEN_MEMORY_H -// 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) +#if defined(__APPLE__) || defined(_WIN64) #define EIGEN_MALLOC_ALREADY_ALIGNED 1 #else #define EIGEN_MALLOC_ALREADY_ALIGNED 0 |