summaryrefslogtreecommitdiff
path: root/src/lj_err.c
diff options
context:
space:
mode:
authorMike Pall <mike>2012-03-15 12:01:13 +0100
committerMike Pall <mike>2012-03-15 12:01:13 +0100
commit5dbb6671a3b1041108616d59169b868f0a7c8646 (patch)
treec1b5a5e2ff0c87d12adf571c19afa368b413c436 /src/lj_err.c
parent6670a13bbf6359702aaee7319f64109cc2fe1c65 (diff)
downloadluajit-5dbb6671a3b1041108616d59169b868f0a7c8646.tar.gz
luajit-5dbb6671a3b1041108616d59169b868f0a7c8646.tar.bz2
luajit-5dbb6671a3b1041108616d59169b868f0a7c8646.zip
Fix compilation on OpenBSD.
Thanks to Laurence Tratt.
Diffstat (limited to '')
-rw-r--r--src/lj_err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_err.c b/src/lj_err.c
index c1e8c561..a4c74780 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -264,7 +264,7 @@ LJ_FUNCA int lj_err_unwind_dwarf(int version, _Unwind_Action actions,
264} 264}
265 265
266#if LJ_UNWIND_EXT 266#if LJ_UNWIND_EXT
267#if LJ_TARGET_OSX 267#if LJ_TARGET_OSX || defined(__OpenBSD__)
268/* Sorry, no thread safety for OSX. Complain to Apple, not me. */ 268/* Sorry, no thread safety for OSX. Complain to Apple, not me. */
269static struct _Unwind_Exception static_uex; 269static struct _Unwind_Exception static_uex;
270#else 270#else