mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[PSDK] Alias _Check_return_ annotation to warn_unused_result attribute
This commit is contained in:
parent
e10892e4f4
commit
ada609bdbc
1 changed files with 4 additions and 0 deletions
|
@ -18,5 +18,9 @@
|
|||
|
||||
#if __has_attribute(warn_unused_result)
|
||||
# undef _Must_inspect_result_
|
||||
/* FIXME: Not really equivalent */
|
||||
# define _Must_inspect_result_ __attribute__((__warn_unused_result__))
|
||||
# undef _Check_return_
|
||||
/* This one is 1:1 equivalent */
|
||||
# define _Check_return_ __attribute__((__warn_unused_result__))
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue