Update Allocator.h

This commit is contained in:
alexey-milovidov 2020-06-20 21:52:13 +03:00 committed by GitHub
parent 34fbc62033
commit 87937e580e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@
* third-party applications which may already use own allocator doing mmaps
* in the implementation of alloc/realloc.
*/
__attribute__((__weak__)) extern const size_t MMAP_THRESHOLD;
extern const size_t MMAP_THRESHOLD;
static constexpr size_t MMAP_MIN_ALIGNMENT = 4096;
static constexpr size_t MALLOC_MIN_ALIGNMENT = 8;