Fixing bug #1480977: Defining _GNU_SOURCE before including any headers,

then checking if __USE_GNU was set, in which case strcasestr() is almost
definitely available, otherwise we define it in tuxpaint.c

For non-GNU systems which DO have strcasestr() defined, HAVE_STRCASESTR
can be set to prevent redefinition within tuxpaint.c.
This commit is contained in:
William Kendrick 2006-06-03 06:24:55 +00:00
parent c36a202e0f
commit 9fae1a8a25
3 changed files with 50 additions and 6 deletions

View file

@ -9,7 +9,7 @@ http://www.newbreedsoftware.com/tuxpaint/
$Id$
2006.May.14 (0.9.16)
2006.June.02 (0.9.16)
* Interface improvements:
-----------------------
* Modified "Text" tool so that it correctly handles the 16-bit unicode
@ -155,6 +155,8 @@ $Id$
* Silencing any errors when running kde- or gnome-config during install.
* Implemented strcasestr() for systems which don't have it.
* Bug Fixes:
----------
* Tux Paint's scalable icon (tuxpaint-icon.svg) caused Gnome panel to