@@ -876,7 +876,7 @@ static void NTAPI mi_win_main(PVOID module, DWORD reason, LPVOID reserved) {
876876 #pragma data_seg(".CRT$XIB")
877877 mi_crt_callback_t _mi_crt_callback_init [] = { & mi_crt_init };
878878 #pragma data_seg()
879- #elif defined(__GCC__ ) // mingw
879+ #elif defined(__GNUC__ ) // mingw
880880 extern const IMAGE_TLS_DIRECTORY _tls_used ;
881881 __attribute__((used )) static const void * const mi_tls_used_ref = & _tls_used ; // pull in the CRT tls
882882 __attribute__((used , section (".CRT$XLB" ))) PIMAGE_TLS_CALLBACK _mi_tls_callback_pre = & mi_tls_attach ;
@@ -973,7 +973,7 @@ static void NTAPI mi_win_main(PVOID module, DWORD reason, LPVOID reserved) {
973973 #pragma data_seg(".CRT$XLY")
974974 PIMAGE_TLS_CALLBACK _mi_tls_callback_post [] = { & mi_tls_detach };
975975 #pragma data_seg()
976- #elif defined(__GCC__ ) // mingw
976+ #elif defined(__GNUC__ ) // mingw
977977 extern const IMAGE_TLS_DIRECTORY _tls_used ;
978978 __attribute__((used )) static const void * const mi_tls_used_ref = & _tls_used ; // pull in the CRT tls
979979 __attribute__((used , section (".CRT$XLB" ))) PIMAGE_TLS_CALLBACK _mi_tls_callback_pre = & mi_tls_attach ;
@@ -1047,7 +1047,7 @@ static void NTAPI mi_win_main(PVOID module, DWORD reason, LPVOID reserved) {
10471047 #pragma data_seg(".CRT$XLY")
10481048 PIMAGE_TLS_CALLBACK _mi_tls_callback_post [] = { & mi_win_main_detach };
10491049 #pragma data_seg()
1050- #elif defined(__GCC__ ) // mingw
1050+ #elif defined(__GNUC__ ) // mingw
10511051 extern const IMAGE_TLS_DIRECTORY _tls_used ;
10521052 __attribute__((used )) static const void * const mi_tls_used_ref = & _tls_used ; // pull in the CRT tls
10531053 __attribute__((used , section (".CRT$XLB" ))) PIMAGE_TLS_CALLBACK _mi_tls_callback_pre = & mi_tls_attach ;
0 commit comments