-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
#ifdef __APPLE__ | ||
# include <TargetConditionals.h> | ||
#endif | ||
|
||
#ifndef AWS_COMMON_CONFIG_H | ||
# define AWS_COMMON_CONFIG_H | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#ifndef AWS_COMMON_CONFIG_H | ||
#define AWS_COMMON_CONFIG_H | ||
/* | ||
* This header exposes compiler feature test results determined during cmake | ||
* configure time to inline function implementations. The macros defined here | ||
* should be considered to be an implementation detail, and can change at any | ||
* time. | ||
*/ | ||
#ifdef __APPLE__ | ||
/* This is a trick to skip OpenSSL header on Apple platforms since Swift Package Manager is not smart enough to exclude | ||
* some headers. | ||
*/ | ||
# define AWS_C_CAL_OPENSSLCRYPTO_COMMON_H | ||
#endif | ||
#define AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS | ||
#define AWS_HAVE_GCC_INLINE_ASM | ||
#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR || TARGET_OS_MAC | ||
# define AWS_C_CAL_OPENSSLCRYPTO_COMMON_H | ||
#endif | ||
|
||
#define AWS_UNSTABLE_TESTING_API 1 | ||
#define AWS_AFFINITY_METHOD 0 | ||
#define AWS_HAVE_EXECINFO 1 | ||
|
||
#endif |