diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-12-25 13:40:10 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-12-26 20:45:12 +0900 |
commit | 8184adabe5018ff930fde64456029471c1ebcd2e (patch) | |
tree | 016a7cded62e4a7f0bb23a58c797ee77ce3c8378 /missing | |
parent | 5e22f873ed26092522f9bfc617d729bac88b284f (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 'missing')
-rw-r--r-- | missing/stdbool.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/missing/stdbool.h b/missing/stdbool.h deleted file mode 100644 index f370e01e92..0000000000 --- a/missing/stdbool.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * missing/stdbool.h: Quick alternative of C99 stdbool.h - */ - -#ifndef _MISSING_STDBOOL_H_ -#define _MISSING_STDBOOL_H_ - -#ifndef __bool_true_false_are_defined -# ifndef __cplusplus -# undef bool -# undef false -# undef true -# define bool signed char -# define false 0 -# define true 1 -# define __bool_true_false_are_defined 1 -# endif -#endif - -#endif /* _MISSING_STDBOOL_H_ */ |