cpython (2.7): This local change was lost during the fixing of issue17192 to update
http://hg.python.org/cpython/rev/7438d202e380 changeset: 83562:7438d202e380 branch: 2.7 parent: 83548:d9921cb6e3cd user: Gregory P. Smith <greg@krypto.org> date: Tue Apr 30 00:08:51 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) 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