diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-08-14 15:44:23 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-08-14 15:44:23 +0400 |
commit | ef23b0a6a48e88b606d3548bb86520ceec563f40 (patch) | |
tree | d9791de4f5c25ba581a3fb6c7704bbc108458a8b /winsup/cygwin/globals.cc | |
parent | 111ced6d60d333666d32f53546a79d9a42c2d4ee (diff) |
* include/sys/cygwin.h (struct per_process): Add posix_memalign. Reduce
size of unused2 accordingly.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Initialize
u->posix_memalign with address of posix_memalign.
* malloc_wrapper.cc (posix_memalign): Call user-provided posix_memalign
rather than just returning ENOSYS.
* globals.cc (__cygwin_user_data): Initialize posix_memalign member.
Diffstat (limited to 'winsup/cygwin/globals.cc')
-rw-r--r-- | winsup/cygwin/globals.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc index a39d5c908..fa32749ba 100644 --- a/winsup/cygwin/globals.cc +++ b/winsup/cygwin/globals.cc @@ -194,6 +194,7 @@ extern "C" { /* api_major */ 0, /* api_minor */ 0, /* unused2 */ {}, + /* posix_memalign */ posix_memalign, /* pseudo_reloc_start */ NULL, /* pseudo_reloc_end */ NULL, /* image_base */ NULL, |