Merge pull request #14690 from alistairlow/arm_non_mobile_macro

Added a check for a macro to specify that an ARM device is not mobile
This commit is contained in:
Martin Wicke 2018-02-15 16:26:02 -08:00 committed by GitHub
commit 46e90f537a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,10 +43,11 @@ limitations under the License.
#elif defined(__arm__)
#define PLATFORM_POSIX
// Require an outside macro to tell us if we're building for Raspberry Pi.
#if !defined(RASPBERRY_PI)
// 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)
#define IS_MOBILE_PLATFORM
#endif // !defined(RASPBERRY_PI)
#endif // !defined(RASPBERRY_PI) && !defined(ARM_NON_MOBILE)
#else
// If no platform specified, use: