mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 21:20:09 +00:00
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:
parent
e913a97b2d
commit
cdc4f6a476
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user