mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-30 13:26:10 +08:00
Fix double extern in C mode
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4780 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
parent
1f3a278daf
commit
7e68900c5c
@ -1,3 +1,8 @@
|
||||
2012-01-29 Jonathan Yong <jon_y@users.sourceforge.net>
|
||||
|
||||
* strsafe.h (MPRAPI_OBJECT_HEADER): Fix double extern qualifier in
|
||||
_STRSAFE_EXTERN_C. __CRT_INLINE macro already has extern.
|
||||
|
||||
2012-01-26 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* nldef.h (NL_INTERFACE_OFFLOAD_ROD): Remove
|
||||
|
@ -66,10 +66,11 @@ typedef long HRESULT;
|
||||
#endif
|
||||
#endif /* C_ASSERT */
|
||||
|
||||
/* extern removed for C mode to avoid double extern qualifier from __CRT_INLINE */
|
||||
#ifdef __cplusplus
|
||||
#define _STRSAFE_EXTERN_C extern "C"
|
||||
#else
|
||||
#define _STRSAFE_EXTERN_C extern
|
||||
#define _STRSAFE_EXTERN_C
|
||||
#endif
|
||||
|
||||
#ifndef WINAPI
|
||||
|
Loading…
Reference in New Issue
Block a user