Try this:
cd $SRCDIR/etc/config/src && grep -2 'terminate\.h' *
Note that every #include for this header is wrapped by the same #if
directives. Wouldn't it make sense to move all of these nested if
directives into the header itself and just always include the header?
For example:
file etc/config/src/terminate.h:
...
#include "config.h"
#ifndef _RWSTD_NO_HONOR_STD
# ifdef _RWSTD_NO_STD_TERMINATE
namespace std {
void terminate ()
{
...
}
} // namespace std
# endif // _RWSTD_NO_STD_TERMINATE
#endif // _RWSTD_NO_HONOR_STD
Just a thought.
Brad.