diff options
author | David CARLIER <devnexen@gmail.com> | 2019-10-31 15:11:23 +0000 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2019-10-31 08:11:23 -0700 |
commit | 9f6d037f1feadb22c324110b5b589f4358049f65 (patch) | |
tree | d3f1f3f7fd6762e73ddfb7beeeb4dbd8a649ab83 /src/mi | |
parent | a36ec8cfdb8764e4f8bf6b16a149a60ea6ad038d (diff) | |
download | libunwind-9f6d037f1feadb22c324110b5b589f4358049f65.tar.gz |
Little FreeBSD build fix (#135)
Diffstat (limited to 'src/mi')
-rw-r--r-- | src/mi/backtrace.c | 4 |
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> |