[CPU] fixed including <cpuid.h> on android (#10482)

This commit is contained in:
Anton Voronov 2022-02-18 11:50:38 +03:00 committed by GitHub
parent dea35b8e6e
commit 7a82bb2acb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,10 +118,13 @@
#include "transformations/smart_reshape/smart_reshape.hpp"
#if !defined(__arm__) && !defined(_M_ARM) && !defined(__aarch64__) && !defined(_M_ARM64)
#ifndef __GNUC_PREREQ
#define __GNUC_PREREQ(major, minor) ((((__GNUC__) << 16) + (__GNUC_MINOR__)) >= (((major) << 16) + (minor)))
#endif
# ifdef _WIN32
# include <intrin.h>
# include <windows.h>
# elif defined(__APPLE__)
# elif !(__GNUC_PREREQ(4, 3) && !defined(__APPLE__))
# include <cpuid.h>
# endif
#endif