diff --git a/port/port_posix.cc b/port/port_posix.cc index 2408beeb030..0377d448f3b 100644 --- a/port/port_posix.cc +++ b/port/port_posix.cc @@ -188,8 +188,6 @@ int GetMaxOpenFiles() { void *cacheline_aligned_alloc(size_t size) { #if __GNUC__ < 5 && defined(__SANITIZE_ADDRESS__) return malloc(size); -#elif defined(_ISOC11_SOURCE) - return aligned_alloc(CACHE_LINE_SIZE, size); #elif ( _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__)) void *m; errno = posix_memalign(&m, CACHE_LINE_SIZE, size);