summaryrefslogtreecommitdiff
path: root/src/mi
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2019-10-31 15:11:23 +0000
committerDave Watson <dade.watson@gmail.com>2019-10-31 08:11:23 -0700
commit9f6d037f1feadb22c324110b5b589f4358049f65 (patch)
treed3f1f3f7fd6762e73ddfb7beeeb4dbd8a649ab83 /src/mi
parenta36ec8cfdb8764e4f8bf6b16a149a60ea6ad038d (diff)
downloadlibunwind-9f6d037f1feadb22c324110b5b589f4358049f65.tar.gz
Little FreeBSD build fix (#135)
Diffstat (limited to 'src/mi')
-rw-r--r--src/mi/backtrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mi/backtrace.c b/src/mi/backtrace.c
index c7aa2bdc..08e12c92 100644
--- a/src/mi/backtrace.c
+++ b/src/mi/backtrace.c
@@ -23,9 +23,9 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
-#ifndef UNW_REMOTE_ONLY
-
+#if !defined(UNW_REMOTE_ONLY) && !defined(UNW_LOCAL_ONLY)
#define UNW_LOCAL_ONLY
+
#include <libunwind.h>
#include <libunwind_i.h>
#include <string.h>