Loading...
src/nano_malloc_common.h libmalloc-166.251.2 libmalloc-283.40.1
--- libmalloc/libmalloc-166.251.2/src/nano_malloc_common.h
+++ libmalloc/libmalloc-283.40.1/src/nano_malloc_common.h
@@ -25,11 +25,11 @@
 #define __NANO_MALLOC_COMMON_H
 
 // Definitions that are common to Nano V1 and Nano V2.
-#if TARGET_OS_OSX || TARGET_OS_SIMULATOR
+#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,