1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Get rid of LIST_HEAD conflict with a system header on macOS

This commit is contained in:
Nobuyoshi Nakada 2019-12-27 00:46:50 +09:00
parent 7bf44e9222
commit baf37a5f9c
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -23,6 +23,9 @@
# ifdef __LP64__
# define vm_region_recurse vm_region_recurse_64
# endif
/* that is defined in sys/queue.h, and conflicts with
* ccan/list/list.h */
# undef LIST_HEAD
#endif
#include "addr2line.h"