Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-08-14 15:44:23 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-08-14 15:44:23 +0400
commitef23b0a6a48e88b606d3548bb86520ceec563f40 (patch)
treed9791de4f5c25ba581a3fb6c7704bbc108458a8b /winsup/cygwin/globals.cc
parent111ced6d60d333666d32f53546a79d9a42c2d4ee (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.cc1
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,