diff options
author | Tor Lillqvist <tml@novell.com> | 2008-07-22 20:14:01 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-07-22 20:14:01 +0000 |
commit | c9d31fc02205eaa9e75dd6216e15206a1ced4b49 (patch) | |
tree | 4af966581e3716094f1298cba3244dcdf3b581c8 /configure.in | |
parent | ef3e772fbb9f6bb2522e0f4648bb6c8d8212cc16 (diff) | |
download | gtk+-c9d31fc02205eaa9e75dd6216e15206a1ced4b49.tar.gz |
Workaround for what apparently is a bug in MSYS: returning -1 from main()
2008-07-22 Tor Lillqvist <tml@novell.com>
* configure.in: Workaround for what apparently is a bug in MSYS:
returning -1 from main() is misinterpreted as exit status 0, so
make sure we return 0 or 1.
svn path=/trunk/; revision=20895
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 2d1a6f9cbf..5a7d937ccf 100644 --- a/configure.in +++ b/configure.in @@ -1045,7 +1045,7 @@ main (int argc, char **argv) { char *content_type; content_type = g_content_type_guess (NULL, data, data_size, NULL); - return strcmp (content_type, "image/png"); + return !!strcmp (content_type, "image/png"); }]])], [gio_can_sniff=yes AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data])], |