diff options
Diffstat (limited to 'sal/rtl/source/alloc_impl.h')
-rw-r--r-- | sal/rtl/source/alloc_impl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sal/rtl/source/alloc_impl.h b/sal/rtl/source/alloc_impl.h index a226f0607d9c..5e68edb06d7d 100644 --- a/sal/rtl/source/alloc_impl.h +++ b/sal/rtl/source/alloc_impl.h @@ -260,11 +260,12 @@ typedef CRITICAL_SECTION rtl_memory_lock_type; #define VALGRIND_MEMPOOL_FREE(pool, addr) #elif defined(HAVE_MEMCHECK_H) #include <memcheck.h> -#if !defined(FORCE_SYSALLOC) -#define FORCE_SYSALLOC 1 -#endif /* !FORCE_SYSALLOC */ #endif /* NVALGRIND || HAVE_MEMCHECK_H */ +typedef enum { AMode_CUSTOM, AMode_SYSTEM, AMode_UNSET } AllocMode; + +extern AllocMode alloc_mode; + #ifdef __cplusplus } #endif |