forked from OSchip/llvm-project
[ASan] Fix compilation of asan_str_test.cc on non-Darwin.
llvm-svn: 191083
This commit is contained in:
parent
2fe068ef20
commit
bff7e64a3f
|
@ -12,7 +12,9 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
#include "asan_test_utils.h"
|
||||
|
||||
#include <AvailabilityMacros.h>
|
||||
#if defined(__APPLE__)
|
||||
#include <AvailabilityMacros.h> // For MAC_OS_X_VERSION_*
|
||||
#endif
|
||||
|
||||
// Used for string functions tests
|
||||
static char global_string[] = "global";
|
||||
|
|
Loading…
Reference in New Issue