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