use g_strcasecmp(), some poor platforms don't have strcasecmp()

2001-11-18  Hans Breuer  <hans@breuer.org>

	* io-xpm.c : use g_strcasecmp(), some poor platforms
	don't have strcasecmp()

	* makefile.msc : do INCLUDE_png etc. definition here to avoid
	my temporary 'gdk-pixbuf-io-include.h' hack
This commit is contained in:
Hans Breuer 2001-11-18 15:33:18 +00:00 committed by Hans Breuer
parent e913a97b2d
commit cdc4f6a476
3 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2001-11-18 Hans Breuer <hans@breuer.org>
* io-xpm.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
* makefile.msc : do INCLUDE_png etc. definition here to avoid
my temporary 'gdk-pixbuf-io-include.h' hack
Sun Nov 18 07:54:22 2001 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf-loader.c: Remove include of gobject/signal.h.

View File

@ -898,7 +898,7 @@ static XPMColorEntry xColors[] = {
static int
compare_xcolor_entries (const void *a, const void *b)
{
return strcasecmp ((const char *) a, ((const XPMColorEntry *) b)->name);
return g_strcasecmp ((const char *) a, ((const XPMColorEntry *) b)->name);
}
static gboolean

View File

@ -11,11 +11,17 @@ PERL = perl
GDK_PIXBUF_VER = 1.3
# force inclusion of gdk-pixbuf-io-include.h
# to get _working_ include modules ...
# to get _working_ include modules we need respective defines ...
BUILT_IN_FORMATS = -DINCLUDE_png -DINCLUDE_bmp -DINCLUDE_gif \
-DINCLUDE_ico -DINCLUDE_jpeg -DINCLUDE_xpm -DINCLUDE_wbmp \
-DINCLUDE_pnm -DINCLUDE_ras
# -DINCLUDE_tiff
PKG_CFLAGS = -I. -I.. $(GLIB_CFLAGS) \
-FIgdk-pixbuf-io-include.h \
$(BUILT_IN_FORMATS) \
$(JPEG_CFLAGS) $(PNG_CFLAGS) $(TIFF_CFLAGS) $(INTL_CFLAGS) \
$(G_DEBUGGING) \
-UUSE_GMODULE # use built-in