about summary refs log tree commit diff
path: root/src/rt
diff options
context:
space:
mode:
authorJyun-Yan You <jyyou@cs.nctu.edu.tw>2012-01-22 15:03:12 +0800
committerBrian Anderson <banderson@mozilla.com>2012-01-24 11:48:36 -0800
commitc2bf9b7726b342b892b8cd773ac9b97fd029ff1f (patch)
tree1c43f90b8b0e0d0a1fa05d3037a0df7303c9f44f /src/rt
parent2898dcc5d97da9427ac367542382b6239d9c0bbf (diff)
downloadrust-c2bf9b7726b342b892b8cd773ac9b97fd029ff1f.tar.gz
rust-c2bf9b7726b342b892b8cd773ac9b97fd029ff1f.zip
freebsd clang support
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rust_unwind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_unwind.h b/src/rt/rust_unwind.h
index 2a7e559d189..61acf89b6c0 100644
--- a/src/rt/rust_unwind.h
+++ b/src/rt/rust_unwind.h
@@ -17,6 +17,8 @@ typedef int _Unwind_Reason_Code;
 
 #if (defined __APPLE__) || (defined __clang__)
 
+#ifndef __FreeBSD__
+
 typedef int _Unwind_Action;
 typedef void _Unwind_Exception;
 
@@ -24,3 +26,5 @@ typedef void _Unwind_Exception;
 
 #endif
 
+#endif
+