aboutsummaryrefslogtreecommitdiff
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
parent8961a92dd1607108760694af3486b4434602f8be (diff)
downloadluajit-44382e833a9334c19e47e64e8078a322026e094d.tar.gz
luajit-44382e833a9334c19e47e64e8078a322026e094d.tar.bz2
luajit-44382e833a9334c19e47e64e8078a322026e094d.zip
OSX: Use __thread attribute.
-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,
290} 290}
291 291
292#if LJ_UNWIND_EXT 292#if LJ_UNWIND_EXT
293#if LJ_TARGET_OSX || defined(__OpenBSD__)
294/* Sorry, no thread safety for OSX. Complain to Apple, not me. */
295static _Unwind_Exception static_uex;
296#else
297static __thread _Unwind_Exception static_uex; 293static __thread _Unwind_Exception static_uex;
298#endif
299 294
300/* Raise DWARF2 exception. */ 295/* Raise DWARF2 exception. */
301static void err_raise_ext(int errcode) 296static void err_raise_ext(int errcode)