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:
commit
46e90f537a
@ -43,10 +43,11 @@ limitations under the License.
|
|||||||
#elif defined(__arm__)
|
#elif defined(__arm__)
|
||||||
#define PLATFORM_POSIX
|
#define PLATFORM_POSIX
|
||||||
|
|
||||||
// Require an outside macro to tell us if we're building for Raspberry Pi.
|
// Require an outside macro to tell us if we're building for Raspberry Pi or
|
||||||
#if !defined(RASPBERRY_PI)
|
// another ARM device that's not a mobile platform.
|
||||||
|
#if !defined(RASPBERRY_PI) && !defined(ARM_NON_MOBILE)
|
||||||
#define IS_MOBILE_PLATFORM
|
#define IS_MOBILE_PLATFORM
|
||||||
#endif // !defined(RASPBERRY_PI)
|
#endif // !defined(RASPBERRY_PI) && !defined(ARM_NON_MOBILE)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// If no platform specified, use:
|
// If no platform specified, use:
|
||||||
|
Loading…
Reference in New Issue
Block a user