Loading...
include/limits.h Libc-825.26 Libc-1669.40.2
--- Libc/Libc-825.26/include/limits.h
+++ Libc/Libc-1669.40.2/include/limits.h
@@ -62,6 +62,7 @@
 
 #include <sys/cdefs.h>
 #include <machine/limits.h>
+#ifndef UNIFDEF_DRIVERKIT
 #include <sys/syslimits.h>
 
 #if __DARWIN_C_LEVEL > __DARWIN_C_ANSI
@@ -100,6 +101,8 @@
 #define _POSIX_SEM_VALUE_MAX 			32767
 #define _POSIX_SIGQUEUE_MAX 			32
 #define _POSIX_TIMER_MAX 			32
+
+#define _POSIX_CLOCKRES_MIN 20000000
 #endif /* __DARWIN_C_LEVEL >= 199309L */
 
 #if __DARWIN_C_LEVEL >= 199506L
@@ -109,7 +112,11 @@
 
 #define PTHREAD_DESTRUCTOR_ITERATIONS 	4
 #define PTHREAD_KEYS_MAX 		512
+#if defined(__arm__) || defined(__arm64__)
+#define PTHREAD_STACK_MIN 		16384
+#else
 #define PTHREAD_STACK_MIN 		8192
+#endif
 #endif /* __DARWIN_C_LEVEL >= 199506L */
 
 #if __DARWIN_C_LEVEL >= 200112
@@ -157,5 +164,6 @@
 #endif /* __DARWIN_C_LEVEL > __DARWIN_C_ANSI */
 
 /* NZERO to be defined here. TBD. See also sys/param.h  */
+#endif /* UNIFDEF_DRIVERKIT */
 
 #endif /* !_LIMITS_H_ */