Merge pull request #42461 from bzhaoopenstack:patch-4

PiperOrigin-RevId: 329455117
Change-Id: I4b37413f144dbda65d8254a814146b6ab6b3fcca
This commit is contained in:
TensorFlower Gardener 2020-09-01 00:24:47 -07:00
commit 9df7b750eb

View File

@ -47,17 +47,6 @@ limitations under the License.
// EMSCRIPTEN builds are considered "mobile" for the sake of portability.
#define IS_MOBILE_PLATFORM
#elif defined(__arm__) || defined(__aarch64__)
// If no platform specified, use:
#define PLATFORM_POSIX
// Require an outside macro to tell us if we're building for Raspberry Pi or
// another ARM device that's not a mobile platform.
#if !defined(RASPBERRY_PI) && !defined(ARM_NON_MOBILE) && \
!defined(PLATFORM_GOOGLE)
#define IS_MOBILE_PLATFORM
#endif
#else
// If no platform specified, use:
#define PLATFORM_POSIX