cleaning the generic module :)

Benjamin Reed rangerrick at befunk.com
Tue Jan 10 15:43:44 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frederic-Emmanuel PICCA wrote:
>>
>>> 4) I removed the redondant flags '-D_XOPEN_SOURCE=500', '-D_BSD_SOURCE',
>>> when '-D_GNU_SOURCE' is use.
>>>    
>>>
>> On Mac OS X, -D_GNU_SOURCE does not do anything, but -D_XOPEN_SOURCE
>> most definitely does, I can only assume similar things for _BSD_SOURCE
>> and the *BSDs, I'd bet they should all still be there.  Not every
>> platform is Linux.  ;)
>>  
>>
> 
> So this must be put in the osx/detect_generic.py is'nt it ?

True, but if "unix" is really "generic unix" then I would think
- -D_XOPEN_SOURCE=500 is probably the correct one for all, -D_GNU_SOURCE
is linux (well, I suppose libc?) specific...


- --
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDw8ggUu+jZtP2Zf4RAopBAJ0YqZM4ZmnEfL3WJ2u7R8xkO/OzEQCePS29
tKQ7uOTbvGdb6Es+1NvKbbQ=
=m3hi
-----END PGP SIGNATURE-----


More information about the Kde-buildsystem mailing list