Merge branch '2018wk48' of https://github.com/kerolasa/util-linux
* '2018wk48' of https://github.com/kerolasa/util-linux: include/c: check returns_nonnull function attribute with __GNUC_PREREQ
This commit is contained in:
commit
d046b67541
|
@ -80,7 +80,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ >= 5) || ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 9))
|
||||
#if __GNUC_PREREQ (4, 9)
|
||||
# define __ul_returns_nonnull __attribute__((returns_nonnull))
|
||||
#else
|
||||
# define __ul_returns_nonnull
|
||||
|
|
Loading…
Reference in New Issue