summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2022-06-09 14:57:21 -0500
committerBrian Smith <brian@dbsoft.org>2022-06-09 14:57:21 -0500
commit699611592449ce8ba768934b89b0b29855fe61de (patch)
tree123b7a72a1b6ab9046000128fbf70bff09874ed3
parent56ff5a50d44b03399fae7f08499d9f5bb000b529 (diff)
downloaduxp-699611592449ce8ba768934b89b0b29855fe61de.tar.gz
Issue #1905 - Part 3e - Fix NSPR build on ARM.
The dynamic loader had been falling through to the ancient PowerPC code without __aarch64__ #ifdef
-rw-r--r--nsprpub/pr/include/md/_darwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsprpub/pr/include/md/_darwin.h b/nsprpub/pr/include/md/_darwin.h
index 1d79d3d82d..c6340ce2d5 100644
--- a/nsprpub/pr/include/md/_darwin.h
+++ b/nsprpub/pr/include/md/_darwin.h
@@ -40,7 +40,7 @@
#undef HAVE_STACK_GROWING_UP
#define HAVE_DLL
-#if defined(__x86_64__) || TARGET_OS_IPHONE
+#if defined(__x86_64__) || defined(__aarch64__)
#define USE_DLFCN
#else
#define USE_MACH_DYLD