Fixed arch_utilities.cc compilation for Linux.
Availability.h and AvailabilityMacros.h are only available when compiling on Apple. Change-Id: I820c74a7fa15560c358366418a503b911dde3d86 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5171145 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
parent
83d9816eb4
commit
062f7124f6
1 changed files with 2 additions and 1 deletions
|
@ -37,10 +37,11 @@
|
|||
#include <mach-o/fat.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <Availability.h>
|
||||
#include <AvailabilityMacros.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && defined(__IPHONE_16_0) && \
|
||||
__IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_16_0) || \
|
||||
(defined(MAC_OS_X_VERSION_MIN_REQUIRED) && defined(MAC_OS_VERSION_13_0) && \
|
||||
|
|
Loading…
Reference in a new issue