mirror of
https://github.com/herumi/xbyak
synced 2024-11-20 16:06:14 -07:00
use __GNUC_MINOR__ instead of __GNUC__MINOR__
more details: http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
This commit is contained in:
parent
ec8b25b8bf
commit
b714887a29
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
#endif
|
||||
#else
|
||||
#ifndef __GNUC_PREREQ
|
||||
#define __GNUC_PREREQ(major, minor) ((((__GNUC__) << 16) + (__GNUC__MINOR__)) >= (((major) << 16) + (minor)))
|
||||
#define __GNUC_PREREQ(major, minor) ((((__GNUC__) << 16) + (__GNUC_MINOR__)) >= (((major) << 16) + (minor)))
|
||||
#endif
|
||||
#if __GNUC_PREREQ(4, 3) && !defined(__APPLE__)
|
||||
#include <cpuid.h>
|
||||
|
|
Loading…
Reference in a new issue