mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-13 18:37:27 +08:00
add NetBSD to the list of OSes on which malloc is guaranteed to be 16
byte aligned, after discussion with Mark Davies. CCMAIL: mark@ecs.vuw.ac.nz
This commit is contained in:
parent
62d01d3cf4
commit
b179f8e1a4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user