Home | History | Annotate | Download | only in jemalloc
      1 /* include/jemalloc/jemalloc_defs.h.  Generated from jemalloc_defs.h.in by configure.  */
      2 /* Defined if __attribute__((...)) syntax is supported. */
      3 #define JEMALLOC_HAVE_ATTR
      4 
      5 /*
      6  * Define overrides for non-standard allocator-related functions if they are
      7  * present on the system.
      8  */
      9 #define JEMALLOC_OVERRIDE_MEMALIGN
     10 #define JEMALLOC_OVERRIDE_VALLOC
     11 
     12 /*
     13  * At least Linux omits the "const" in:
     14  *
     15  *   size_t malloc_usable_size(const void *ptr);
     16  *
     17  * Match the operating system's prototype.
     18  */
     19 #define JEMALLOC_USABLE_SIZE_CONST const
     20 
     21 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */
     22 #ifdef __LP64__
     23 #define LG_SIZEOF_PTR 3
     24 #else
     25 #define LG_SIZEOF_PTR 2
     26 #endif
     27