mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 09:07:02 +02:00
BUILD: fix build warning on solaris based systems with __maybe_unused.
__maybe_unused is already defined there.
This commit is contained in:
parent
9b6becb312
commit
135c1ec139
@ -58,10 +58,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __maybe_unused
|
||||
/* silence the "unused" warnings without having to place painful #ifdefs.
|
||||
* For use with variables or functions.
|
||||
*/
|
||||
#define __maybe_unused __attribute__((unused))
|
||||
#endif
|
||||
|
||||
/* These macros are used to declare a section name for a variable.
|
||||
* WARNING: keep section names short, as MacOS limits them to 16 characters.
|
||||
|
Loading…
Reference in New Issue
Block a user