[haiku-development] Re: What is the purpose of using __USE_GNU define in Haiku?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 16 Aug 2010 23:07:45 +0200

Siarzhuk Zharski <zharik@xxxxxx> wrote:
> During our work on wxWidgets port I have observed that re_registers 
> structure become unavailable from r38031. The changes in mentioned 
> revision "obscure" corresponding structure by adding #ifdef __USE_GNU 
> guard section at line 431 of posix/regex.h. Note that previous version 
> of posix/regex.h contains no __USE_GNU definitions at all.

I think it depends on whether or not we want to provide a glibc 
compatible regex in the future (ie. post glibc timeframe). If we intend 
to do that, we should get rid of the __USE_GNU stuff again IMO.

Bye,
   Axel.


Other related posts: