Commit cdc4f6a4 authored by Hans Breuer's avatar Hans Breuer Committed by Hans Breuer

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
parent e913a97b
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.
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment