#include <stdlib.h>
#include <limits>
+#include "config.h"
+
/** MEMALLOC declares the allocators for a class to allocate
* memory in the non-snapshotting heap. */
#define MEMALLOC \
extern mspace create_mspace_with_base(void* base, size_t capacity, int locked);
extern mspace create_mspace(size_t capacity, int locked);
+#if USE_MPROTECT_SNAPSHOT
/** @brief mspace for the snapshotting heap */
extern mspace snapshot_space;
+#endif
+
#ifdef __cplusplus
}; /* end of extern "C" */
#endif