Loading...
--- libmalloc/libmalloc-374.100.5/src/nano_malloc_common.h
+++ libmalloc/libmalloc-166.251.2/src/nano_malloc_common.h
@@ -24,15 +24,16 @@
#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
+// Definitions that are common to Nano V1 and Nano V2.
+#if TARGET_OS_OSX || TARGET_OS_SIMULATOR
#define NANO_PREALLOCATE_BAND_VM 0
-#else // TARGET_OS_OSX || TARGET_OS_SIMULATOR || TARGET_OS_DRIVERKIT
+#else // TARGET_OS_OSX || TARGET_OS_SIMULATOR
#define NANO_PREALLOCATE_BAND_VM 1 // pre-allocate reserved vm range
-#endif // TARGET_OS_OSX || TARGET_OS_SIMULATOR || TARGET_OS_DRIVERKIT
+#endif // TARGET_OS_OSX || TARGET_OS_SIMULATOR
typedef enum {
NANO_NONE = 0,
+ NANO_V1 = 1,
NANO_V2 = 2,
} nano_version_t;