[haiku-development] Re: To __BEOS__ or not to __BEOS__?

I recently tried compiling a Hello World on Haiku with -U__BEOS__ (i.e. locally undefining __BEOS__), and it lead to ugly errors in stdio_pre.h, related to GCC's headers. Someone in the know would need to update those headers first.

Dropping __BEOS__ is the hard part, defining it would be as easy as CPPFLAGS=-D__BEOS__ if needed.

+1 for dropping it as soon as the issues are resolved.

We are seeing a recurring pattern of 'bool' workarounds for __BEOS__, which unnecessarily break things on Haiku and could be avoided by Haiku not pretending to be BeOS.

Andreas

Other related posts: