diff options
Diffstat (limited to 'winsup/cygwin/malloc_wrapper.cc')
-rw-r--r-- | winsup/cygwin/malloc_wrapper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/malloc_wrapper.cc b/winsup/cygwin/malloc_wrapper.cc index c5271588f..17347ae3d 100644 --- a/winsup/cygwin/malloc_wrapper.cc +++ b/winsup/cygwin/malloc_wrapper.cc @@ -115,7 +115,7 @@ posix_memalign (void **memptr, size_t alignment, size_t bytes) void *res; if (!use_internal) - return ENOSYS; + return user_data->posix_memalign (memptr, alignment, bytes); if ((alignment & (alignment - 1)) != 0) return EINVAL; __malloc_lock (); |