mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
Define ATTRIBUTE_SENTINEL for GCC < 4.0 too
ATTRIBUTE_SENTINEL was defined for GCC >= 4.0 only, resulting in compile errors when using GCC < 4.0.
This commit is contained in:
parent
d4c1e5aeed
commit
a3bd8bbb38
@ -100,6 +100,8 @@
|
||||
#ifndef ATTRIBUTE_SENTINEL
|
||||
#if __GNUC_PREREQ (4, 0)
|
||||
#define ATTRIBUTE_SENTINEL __attribute__((__sentinel__))
|
||||
#else
|
||||
#define ATTRIBUTE_SENTINEL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user