ruby-changes:59500
From: Nobuyoshi <ko1@a...>
Date: Fri, 27 Dec 2019 00:53:33 +0900 (JST)
Subject: [ruby-changes:59500] baf37a5f9c (master): Get rid of LIST_HEAD conflict with a system header on macOS
https://git.ruby-lang.org/ruby.git/commit/?id=baf37a5f9c From baf37a5f9c34b660fdb0eb3f899df1303365c723 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 27 Dec 2019 00:46:50 +0900 Subject: Get rid of LIST_HEAD conflict with a system header on macOS diff --git a/vm_dump.c b/vm_dump.c index 09051cf..4bc41f2 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -23,6 +23,9 @@ https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L23 # 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" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/