Merge pull request #42461 from bzhaoopenstack:patch-4
PiperOrigin-RevId: 329455117 Change-Id: I4b37413f144dbda65d8254a814146b6ab6b3fcca
This commit is contained in:
commit
9df7b750eb
@ -47,17 +47,6 @@ limitations under the License.
|
|||||||
// EMSCRIPTEN builds are considered "mobile" for the sake of portability.
|
// EMSCRIPTEN builds are considered "mobile" for the sake of portability.
|
||||||
#define IS_MOBILE_PLATFORM
|
#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
|
#else
|
||||||
// If no platform specified, use:
|
// If no platform specified, use:
|
||||||
#define PLATFORM_POSIX
|
#define PLATFORM_POSIX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user