[haiku-commits] Re: r37289 - in haiku/trunk: headers/os/opengl src/kits/opengl

On Mon, Jun 28, 2010 at 2:50 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> wpjvandermeer@xxxxxxxxx wrote:
>> This change uses _BEOS_R5_COMPATIBLE_ to determine which function
>> prototype to > use.
>
> That's not really a good idea, as you would now need to define
> _BEOS_R5_COMPATIBLE_ in order to be able to compile third party
> software.
> This define is only available within our build system, so it should not
> be part of any public header.

What about just checking the GCC version > 3 trick instead?

- Urias

Other related posts: