list.h: undefine LIST_HEAD to prevent conflicts on mac os x
This commit is contained in:
parent
5038992465
commit
d6d6f11625
1 changed files with 1 additions and 0 deletions
1
list.h
1
list.h
|
@ -45,6 +45,7 @@ struct list_head {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LIST_HEAD_INIT(name) { &(name), &(name) }
|
#define LIST_HEAD_INIT(name) { &(name), &(name) }
|
||||||
|
#undef LIST_HEAD
|
||||||
#define LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name)
|
#define LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name)
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
Loading…
Reference in a new issue