I want to find the _Bool
definition on my system, so for systems where it\'s missing I can implement it. I\'ve seen various definitions for it here and on other
_Bool
is a built-in type, so don't expect to find a definition for it in a header file, even a system header file.
Having said that, guessing your system from the paths that you are searching, have you looked in /usr/lib/gcc/*/*/include
?
My "real" stdbool.h
lives there. As expected it #define
s bool
to be _Bool
. As _Bool
is a type native to the compiler there's no definition for it in the header file.