summaryrefslogtreecommitdiff
path: root/kerncompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kerncompat.h')
-rw-r--r--kerncompat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kerncompat.h b/kerncompat.h
index 5d928565..7c627ba3 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -33,7 +33,9 @@
#include <features.h>
#ifndef __GLIBC__
+#ifndef BTRFS_DISABLE_BACKTRACE
#define BTRFS_DISABLE_BACKTRACE
+#endif
#define __always_inline __inline __attribute__ ((__always_inline__))
#endif