Chromium Code Reviews| Index: src/allocation.cc |
| diff --git a/src/allocation.cc b/src/allocation.cc |
| index 96fd71f11bd3d55be11d7f157ee885e838c430be..700121ae494b708ed3e78c78488fe26257a0f873 100644 |
| --- a/src/allocation.cc |
| +++ b/src/allocation.cc |
| @@ -89,7 +89,7 @@ void* AlignedAlloc(size_t size, size_t alignment) { |
| void* ptr; |
| #if V8_OS_WIN |
| ptr = _aligned_malloc(size, alignment); |
| -#elif V8_LIBC_BIONIC |
| +#elif V8_LIBC_BIONIC || V8_OS_SOLARIS |
|
Sven Panne
2014/11/12 15:51:49
Hmmm, this still doesn't look right, some Solaris
|
| // posix_memalign is not exposed in some Android versions, so we fall back to |
| // memalign. See http://code.google.com/p/android/issues/detail?id=35391. |
| ptr = memalign(alignment, size); |