mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[lists] __typeof__ instead of typeof
This commit is contained in:
parent
5f4191be4f
commit
af86fdd75b
@ -132,8 +132,8 @@ struct xlist_head {
|
||||
#define INIT_LIST_OF(element_T, x) LIST_OF(element_T) x = { D_LIST_HEAD(x) }
|
||||
|
||||
#ifdef HAVE_TYPEOF
|
||||
#define list_typeof(x) typeof(x)
|
||||
#define list_typeof2(x) typeof(x)
|
||||
#define list_typeof(x) __typeof__(x)
|
||||
#define list_typeof2(x) __typeof__(x)
|
||||
#else
|
||||
#define list_typeof(x) struct xlist_head *
|
||||
#define list_typeof2(x) void *
|
||||
|
Loading…
Reference in New Issue
Block a user