Add platform configuration for "Pythia". Change-Id: I2727c0594b50e73e41d9ca59bbdb1978a9801cde Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/96967 Reviewed-by: David Benjamin <davidben@google.com> Auto-Submit: Adam Langley <agl@google.com> Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/include/openssl/target.h b/include/openssl/target.h index 2c03389..2372a05 100644 --- a/include/openssl/target.h +++ b/include/openssl/target.h
@@ -105,6 +105,11 @@ #define OPENSSL_FUCHSIA #endif +// See go/boringssl-on-pythia. +#if defined(__pythia__) +#define OPENSSL_PYTHIA +#endif + // Trusty is Android's TEE target. See // https://source.android.com/docs/security/features/trusty // @@ -165,6 +170,11 @@ #define OPENSSL_NO_SOCK #endif +#if defined(OPENSSL_PYTHIA) +#define OPENSSL_NO_POSIX_IO +#define OPENSSL_NO_SOCK +#endif + #if defined(__ANDROID_API__) #define OPENSSL_ANDROID #endif