[avahi] -D _GNU_SOURCE or AC_GNU_SOURCE

Lennart Poettering mzzhgg at 0pointer.de
Fri Jul 1 05:00:06 PDT 2005


On Fri, 01.07.05 02:12, Sebastien Estienne (sebastien.estienne at gmail.com) wrote:

> hello, i propose to use AC_GNU_SOURCE instead of -D _GNU_SOURCE
> it adds the following in config.h:
> /* Enable GNU extensions on systems that have them.  */
> #ifndef _GNU_SOURCE
> # define _GNU_SOURCE 1
> #endif
> 
> if you can validate that it's ok to use it, i would commit.

Seems to be OK for me. I didn't know that macro yet.

Go on!

Lennart

-- 
name { Lennart Poettering } loc { Hamburg - Germany }
mail { mzft (at) 0pointer (dot) de } gpg { 1A015CC4 }  
www { http://0pointer.de/lennart/ } icq# { 11060553 }


More information about the avahi mailing list