We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73f8afd + 2c4714c commit fe035e9Copy full SHA for fe035e9
src/init.c
@@ -24,6 +24,9 @@
24
// NOTE: this file must not contain any atomic operations
25
26
#include "internal.h"
27
+#if __linux__
28
+#include <linux/limits.h> // for PATH_MAX
29
+#endif
30
31
#if HAVE_MACH
32
#include "protocolServer.h"
src/shims/yield.c
@@ -36,7 +36,7 @@ void *
36
_dispatch_wait_for_enqueuer(void **ptr)
37
{
38
#if !DISPATCH_HW_CONFIG_UP
39
-#if defined(__arm__) || defined(__arm64__)
+#if (defined(__arm__) && defined(__APPLE__)) || defined(__arm64__)
40
int spins = DISPATCH_WAIT_SPINS_WFE;
41
void *value;
42
while (unlikely(spins-- > 0)) {
0 commit comments