mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 18:04:18 +08:00
_mingw_mac.h: Added missing extern "C++" around __if_array
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4734 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
parent
8c8447c1db
commit
9ff1fccbd4
@ -216,12 +216,14 @@
|
||||
#define __MINGW_CRT_NAME_CONCAT2(sym) ::sym##_s
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
template <bool __test, typename __dsttype>
|
||||
struct __if_array;
|
||||
template <typename __dsttype>
|
||||
struct __if_array <true, __dsttype> {
|
||||
typedef __dsttype __type;
|
||||
};
|
||||
}
|
||||
#endif /*__cplusplus*/
|
||||
|
||||
#if (_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user