Re: stop sdl-config from defining _GNU_SOURCE

2012-08-26 Thread Brad Smith
On Thu, Aug 23, 2012 at 11:47:27AM +1000, Jonathan Gray wrote: > sdl-config --cflags unconditionally sets _GNU_SOURCE, > as non posix glibc functions are often hidden under this > ifdef it tends to break code and I see no reason to define it. > > This would ideally be tested in a bulk build though

Re: stop sdl-config from defining _GNU_SOURCE

2012-08-26 Thread Brad Smith
On Mon, Aug 27, 2012 at 01:03:37AM +1000, Jonathan Gray wrote: > On Sun, Aug 26, 2012 at 10:43:20AM -0400, Brad Smith wrote: > > On Thu, Aug 23, 2012 at 12:48:07AM -0400, Brad Smith wrote: > > > On Thu, Aug 23, 2012 at 11:47:27AM +1000, Jonathan Gray wrote: > > > > sdl-config --cflags unconditional

Re: stop sdl-config from defining _GNU_SOURCE

2012-08-26 Thread Jonathan Gray
On Sun, Aug 26, 2012 at 10:43:20AM -0400, Brad Smith wrote: > On Thu, Aug 23, 2012 at 12:48:07AM -0400, Brad Smith wrote: > > On Thu, Aug 23, 2012 at 11:47:27AM +1000, Jonathan Gray wrote: > > > sdl-config --cflags unconditionally sets _GNU_SOURCE, > > > as non posix glibc functions are often hidde

Re: stop sdl-config from defining _GNU_SOURCE

2012-08-26 Thread Brad Smith
On Thu, Aug 23, 2012 at 12:48:07AM -0400, Brad Smith wrote: > On Thu, Aug 23, 2012 at 11:47:27AM +1000, Jonathan Gray wrote: > > sdl-config --cflags unconditionally sets _GNU_SOURCE, > > as non posix glibc functions are often hidden under this > > ifdef it tends to break code and I see no reason to

Re: stop sdl-config from defining _GNU_SOURCE

2012-08-22 Thread Brad Smith
On Thu, Aug 23, 2012 at 11:47:27AM +1000, Jonathan Gray wrote: > sdl-config --cflags unconditionally sets _GNU_SOURCE, > as non posix glibc functions are often hidden under this > ifdef it tends to break code and I see no reason to define it. This looks good and SDL 2 removes the use of this flag.

stop sdl-config from defining _GNU_SOURCE

2012-08-22 Thread Jonathan Gray
sdl-config --cflags unconditionally sets _GNU_SOURCE, as non posix glibc functions are often hidden under this ifdef it tends to break code and I see no reason to define it. This would ideally be tested in a bulk build though. Index: Makefile ==