mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Avoid stupid compiler complaints about precision loss.
2005-03-11 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-gettext.m4: Avoid stupid compiler complaints about precision loss.
This commit is contained in:
committed by
Matthias Clasen
parent
26fc5a7a6f
commit
aae7e432c6
@@ -121,7 +121,7 @@ glib_DEFUN([GLIB_WITH_NLS],
|
||||
[AC_TRY_LINK([
|
||||
#include <libintl.h>
|
||||
],
|
||||
[return (int) ngettext ("","", 1)],
|
||||
[return !ngettext ("","", 1)],
|
||||
gt_cv_func_ngettext_libc=yes,
|
||||
gt_cv_func_ngettext_libc=no)
|
||||
])
|
||||
@@ -131,7 +131,7 @@ glib_DEFUN([GLIB_WITH_NLS],
|
||||
[AC_TRY_LINK([
|
||||
#include <libintl.h>
|
||||
],
|
||||
[return (int) dgettext ("","")],
|
||||
[return !dgettext ("","")],
|
||||
gt_cv_func_dgettext_libc=yes,
|
||||
gt_cv_func_dgettext_libc=no)
|
||||
])
|
||||
|
Reference in New Issue
Block a user