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:
Jonathan Yong 2012-01-29 13:53:41 +00:00
parent 1f3a278daf
commit 7e68900c5c
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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