src/util/disk_cache_os.c:234:21: error: too many arguments provided to function-like macro invocation
macOS build error
../src/util/disk_cache_os.c:234:21: error: too many arguments provided to function-like macro invocation
entry = list_first_entry(lru_file_list, struct lru_file, node);
^
../src/util/list.h:207:26: note: expanded from macro 'list_first_entry'
LIST_ENTRY(type, (ptr)->next, member)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/queue.h:477:9: note: macro 'LIST_ENTRY' defined here
#define LIST_ENTRY(type) \
^
../src/util/disk_cache_os.c:234:21: error: use of undeclared identifier 'LIST_ENTRY'
entry = list_first_entry(lru_file_list, struct lru_file, node);
^
../src/util/list.h:207:9: note: expanded from macro 'list_first_entry'
LIST_ENTRY(type, (ptr)->next, member)
^
../src/util/disk_cache_os.c:470:7: error: too many arguments provided to function-like macro invocation
list_first_entry(lru_file_list, struct lru_file, node);
^
../src/util/list.h:207:26: note: expanded from macro 'list_first_entry'
LIST_ENTRY(type, (ptr)->next, member)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/queue.h:477:9: note: macro 'LIST_ENTRY' defined here
#define LIST_ENTRY(type) \
^
../src/util/disk_cache_os.c:470:7: error: use of undeclared identifier 'LIST_ENTRY'
list_first_entry(lru_file_list, struct lru_file, node);
^
../src/util/list.h:207:9: note: expanded from macro 'list_first_entry'
LIST_ENTRY(type, (ptr)->next, member)
^
4 errors generated.