cpython (3.2): This local change was lost during the fixing of issue17192 to update
http://hg.python.org/cpython/rev/663800e18fef changeset: 83559:663800e18fef branch: 3.2 parent: 83554:7a2e0c1bb1a9 user: Gregory P. Smith <greg@krypto.org> date: Tue Apr 30 00:05:25 2013 -0700 summary: This local change was lost during the fixing of issue17192 to update libffi to 3.0.13. (i'm not sure if it is needed anymore but see issue 10309 for details which makes no mention of upstream; this change is already in 3.3 and 3.4 but may need reapplying to 2.7 as done here) files: Modules/_ctypes/libffi/src/dlmalloc.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Modules/_ctypes/libffi/src/dlmalloc.c b/Modules/_ctypes/libffi/src/dlmalloc.c --- a/Modules/_ctypes/libffi/src/dlmalloc.c +++ b/Modules/_ctypes/libffi/src/dlmalloc.c @@ -457,6 +457,11 @@ #define LACKS_ERRNO_H #define MALLOC_FAILURE_ACTION #define MMAP_CLEARS 0 /* WINCE and some others apparently don't clear */ +#elif !defined _GNU_SOURCE +/* mremap() on Linux requires this via sys/mman.h + * See roundup issue 10309 + */ +#define _GNU_SOURCE 1 #endif /* WIN32 */ #ifdef __OS2__ -- Repository URL: http://hg.python.org/cpython
participants (1)
-
gregory.p.smith