diff --git a/mingw-w64-headers/crt/_mingw_mac.h b/mingw-w64-headers/crt/_mingw_mac.h index 1c0197b1c..c86820a72 100644 --- a/mingw-w64-headers/crt/_mingw_mac.h +++ b/mingw-w64-headers/crt/_mingw_mac.h @@ -216,12 +216,14 @@ #define __MINGW_CRT_NAME_CONCAT2(sym) ::sym##_s #ifdef __cplusplus +extern "C++" { template struct __if_array; template struct __if_array { typedef __dsttype __type; }; +} #endif /*__cplusplus*/ #if (_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES == 1)