Loading...
--- libmalloc/libmalloc-409.60.6/src/nano_malloc_common.h
+++ libmalloc/libmalloc-374.40.6/src/nano_malloc_common.h
@@ -23,6 +23,13 @@
#ifndef __NANO_MALLOC_COMMON_H
#define __NANO_MALLOC_COMMON_H
+
+// Definitions that are common to Nano
+#if TARGET_OS_OSX || TARGET_OS_SIMULATOR || TARGET_OS_DRIVERKIT
+#define NANO_PREALLOCATE_BAND_VM 0
+#else // TARGET_OS_OSX || TARGET_OS_SIMULATOR || TARGET_OS_DRIVERKIT
+#define NANO_PREALLOCATE_BAND_VM 1 // pre-allocate reserved vm range
+#endif // TARGET_OS_OSX || TARGET_OS_SIMULATOR || TARGET_OS_DRIVERKIT
typedef enum {
NANO_NONE = 0,