Only add Stats if passed to CMake.

This commit is contained in:
Matthew Parkinson
2019-07-01 13:28:15 +01:00
parent 187a016c39
commit 9098b1c84f

View File

@@ -1,10 +1,5 @@
#pragma once
#if !defined(NDEBUG) && !defined(OPEN_ENCLAVE) && !defined(FreeBSD_KERNEL) && \
!defined(USE_SNMALLOC_STATS)
# define USE_SNMALLOC_STATS
#endif
#ifdef _MSC_VER
# define ALLOCATOR __declspec(allocator)
#else