mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 14:58:29 +00:00
[PSDK]
* Don't warn about ignored attributes in Clang build. svn path=/trunk/; revision=62396
This commit is contained in:
parent
0dd2f479dc
commit
257374c12b
1 changed files with 10 additions and 0 deletions
|
@ -12,6 +12,11 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <specstrings.h>
|
#include <specstrings.h>
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wignored-attributes"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
#define _SIZE_T_DEFINED
|
#define _SIZE_T_DEFINED
|
||||||
#undef size_t
|
#undef size_t
|
||||||
|
@ -2059,4 +2064,9 @@ STRSAFE_INLINE_API StringGetsExWorkerW(STRSAFE_LPWSTR pszDest,size_t cchDest,siz
|
||||||
#undef _getws
|
#undef _getws
|
||||||
#define _getws _getws_instead_use_StringCbGetsW_or_StringCchGetsW;
|
#define _getws _getws_instead_use_StringCbGetsW_or_StringCchGetsW;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* _STRSAFE_H_INCLUDED_ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue