summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-12-25 13:40:10 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-12-26 20:45:12 +0900
commit8184adabe5018ff930fde64456029471c1ebcd2e (patch)
tree016a7cded62e4a7f0bb23a58c797ee77ce3c8378 /addr2line.c
parent5e22f873ed26092522f9bfc617d729bac88b284f (diff)
internal/stdbool.h rework
Noticed that internal/stdbool.h and addr2line.c are the only two place where missing/stdbool.h is included. Why not delete the file so that we can merge internal/stdbool.h and missing/stdbool.h into one.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2711
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/addr2line.c b/addr2line.c
index 635194b96b..c6704858a9 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -25,11 +25,7 @@
#include <libproc.h>
#endif
-#ifdef HAVE_STDBOOL_H
-#include <stdbool.h>
-#else
-#include "missing/stdbool.h"
-#endif
+#include "internal/stdbool.h"
#if defined(USE_ELF) || defined(HAVE_MACH_O_LOADER_H)