33
44extern gotoblas_t gotoblas_POWER6 ;
55extern gotoblas_t gotoblas_POWER8 ;
6- #if (!defined C_GCC ) || (GCC_VERSION >= 60000 )
6+ #if (!defined __GNUC__ ) || ( __GNUC__ >= 6 )
77extern gotoblas_t gotoblas_POWER9 ;
88#endif
99
@@ -21,7 +21,7 @@ static char *corename[] = {
2121char * gotoblas_corename (void ) {
2222 if (gotoblas == & gotoblas_POWER6 ) return corename [1 ];
2323 if (gotoblas == & gotoblas_POWER8 ) return corename [2 ];
24- #if (!defined C_GCC ) || (GCC_VERSION >= 60000 )
24+ #if (!defined __GNUC__ ) || ( __GNUC__ >= 6 )
2525 if (gotoblas == & gotoblas_POWER9 ) return corename [3 ];
2626#endif
2727 return corename [0 ];
@@ -33,7 +33,7 @@ static gotoblas_t *get_coretype(void) {
3333 return & gotoblas_POWER6 ;
3434 if (__builtin_cpu_is ("power8" ))
3535 return & gotoblas_POWER8 ;
36- #if (!defined C_GCC ) || (GCC_VERSION >= 60000 )
36+ #if (!defined __GNUC__ ) || ( __GNUC__ >= 6 )
3737 if (__builtin_cpu_is ("power9" ))
3838 return & gotoblas_POWER9 ;
3939#endif
@@ -59,7 +59,7 @@ static gotoblas_t *force_coretype(char * coretype) {
5959 {
6060 case 1 : return (& gotoblas_POWER6 );
6161 case 2 : return (& gotoblas_POWER8 );
62- #if (!defined C_GCC ) || (GCC_VERSION >= 60000 )
62+ #if (!defined __GNUC__ ) || ( __GNUC__ >= 6 )
6363 case 3 : return (& gotoblas_POWER9 );
6464#endif
6565 default : return NULL ;
0 commit comments