summaryrefslogtreecommitdiff
path: root/src/lj_err.c
diff options
context:
space:
mode:
authorMike Pall <mike>2019-12-08 19:22:37 +0100
committerMike Pall <mike>2019-12-08 19:22:37 +0100
commit44382e833a9334c19e47e64e8078a322026e094d (patch)
treeaa91263adedb35fce78f63f0a237c80f1c914b16 /src/lj_err.c
parent8961a92dd1607108760694af3486b4434602f8be (diff)
downloadluajit2-44382e833a9334c19e47e64e8078a322026e094d.tar.gz
OSX: Use __thread attribute.
Diffstat (limited to 'src/lj_err.c')
-rw-r--r--src/lj_err.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lj_err.c b/src/lj_err.c
index 13a1ded7..6619ad79 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -290,12 +290,7 @@ LJ_FUNCA int lj_err_unwind_dwarf(int version, int actions,
}
#if LJ_UNWIND_EXT
-#if LJ_TARGET_OSX || defined(__OpenBSD__)
-/* Sorry, no thread safety for OSX. Complain to Apple, not me. */
-static _Unwind_Exception static_uex;
-#else
static __thread _Unwind_Exception static_uex;
-#endif
/* Raise DWARF2 exception. */
static void err_raise_ext(int errcode)