diff options
author | Rickard Green <[email protected]> | 2013-09-11 21:49:32 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-09-25 16:24:31 +0200 |
commit | cabfe2cdc0b8d879431f81233addd2a43ff1f742 (patch) | |
tree | 8971e09324be75eefaa259acdf7cfcc91d9bf280 /erts/configure.in | |
parent | f083e4298d751bb564915b03f0c32114d533d086 (diff) | |
download | otp-cabfe2cdc0b8d879431f81233addd2a43ff1f742.tar.gz otp-cabfe2cdc0b8d879431f81233addd2a43ff1f742.tar.bz2 otp-cabfe2cdc0b8d879431f81233addd2a43ff1f742.zip |
Implement platform specific aligned sys_alloc and use when supported
erts_sys_aligned_alloc() is currently implemented using posix_memalign if
it exist, or using _aligned_malloc on Windows.
If erts_sys_aligned_alloc() exist allocators will create sys_alloc
carriers similar to how this was done pre-R16.
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/configure.in b/erts/configure.in index 7257751068..c391aece14 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1924,8 +1924,8 @@ AC_CHECK_FUNCS([getipnodebyname getipnodebyaddr gethostbyname2]) AC_CHECK_FUNCS([ieee_handler fpsetmask finite isnan isinf res_gethostbyname dlopen \ pread pwrite memmove strerror strerror_r strncasecmp \ - gethrtime localtime_r gmtime_r inet_pton mmap mremap memcpy mallopt \ - sbrk _sbrk __sbrk brk _brk __brk \ + gethrtime localtime_r gmtime_r inet_pton posix_memalign \ + mmap mremap memcpy mallopt sbrk _sbrk __sbrk brk _brk __brk \ flockfile fstat strlcpy strlcat setsid posix2time time2posix \ setlocale nl_langinfo poll]) |