src/dlmalloc.c


Log

Author Commit Date CI Message
Martin Storsjö 15d3ea31 2020-04-26T04:59:35 Use __builtin_ffs instead of ffs (#554) USE_BUILTIN_FFS is defined to 1 within __GNUC__, and the __builtin_ffs function is available since GCC 3.x at least, while the ffs function only exists on some OSes. This fixes compilation for non-x86 mingw platforms. For x86, USE_BUILTIN_FFS is explicitly disabled for windows targets - but if USE_BUILTIN_FFS is enabled based on __GNUC__, it should also use the builtin which actually is available correspondingly, not dependent on the target OS.
Berker Peksag 1e82e1cd 2016-03-07T18:38:10 Define _GNU_SOURCE on Linux for mremap() This was committed to CPython's libffi copy in https://bugs.python.org/issue10309 mremap() documentation says _GNU_SOURCE needs to be defined in order to use mremap(): see the synopsis section at http://linux.die.net/man/2/mremap Original commit: https://hg.python.org/cpython/rev/9986fff720a2 Original patch was written by Hallvard B Furuseth.
Gregory Pakosz a9ed0c3a 2014-11-18T09:37:07 dlmalloc: change defined(i386) to defined(__i386__) When compiling with --std==c99, GCC and clang don't define i386 but __i386__
Zachary Waldowski ba0ea99c 2013-12-30T15:27:44 Fix dlmalloc warnings due to set_segment_flags, sizeof(size_t)
Anthony Green 3dc3f32c 2013-12-05T16:23:25 Undo iOS ARM64 changes.
Zachary Waldowski 6a6247d1 2013-11-30T02:55:48 Darwin: Fix dlmalloc warnings due to sizeof(size_t)
Zachary Waldowski 16ba1b80 2012-04-11T23:26:04 Darwin: Silence Clang warnings.
Anthony Green 128cd1d2 2013-10-08T06:45:51 Fix spelling errors
Anthony Green dc411e8f 2011-02-08T10:49:29 Fix HP-UX build
Anthony Green 63097415 2010-05-05T20:14:56 Micharl Kohler's spelling fixes
Anthony Green f2c2a4fc 2010-04-13T10:19:28 Remove warnings and add OS/2 support
Anthony Green c6dddbd0 2009-10-04T08:11:33 Initial commit