use __GNUC_MINOR__ instead of __GNUC__MINOR__

more details:
http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
This commit is contained in:
Stefan Hoelldampf 2012-03-04 17:05:17 +01:00
parent ec8b25b8bf
commit b714887a29

View file

@ -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>