mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-14 23:08:00 +02:00
Disable __unused
It conflicts with a struct member in a Linux header.
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
# define __dead2
|
||||
#endif
|
||||
|
||||
/* Linux headers define a struct with a member names __unused.
|
||||
* Disable for now. */
|
||||
#if 0
|
||||
#ifndef __unused
|
||||
# ifdef __GNUC__
|
||||
# define __unused __attribute__((unused))
|
||||
@@ -18,6 +21,7 @@
|
||||
# define __unused
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __printflike
|
||||
# ifdef __GNUC__
|
||||
|
Reference in New Issue
Block a user