Commit bba6b810 authored by Antoine Jacoutot's avatar Antoine Jacoutot Committed by Milan Crha
Browse files

Bug 783191 - Fix conditional to prevent a compiler warning

The warning was:
warning: "HAVE__NL_MEASUREMENT_MEASUREMENT" is not defined
parent 7657705f
......@@ -28,7 +28,7 @@
#include <e-util/e-util.h>
#if HAVE_NL_LANGINFO
#if defined(HAVE_NL_LANGINFO)
#include <langinfo.h>
#endif
......@@ -170,7 +170,7 @@ is_locale_metric (void)
{
const gchar *fmt;
#if HAVE_NL_LANGINFO && HAVE__NL_MEASUREMENT_MEASUREMENT
#if defined(HAVE_NL_LANGINFO) && defined(HAVE__NL_MEASUREMENT_MEASUREMENT)
fmt = nl_langinfo (_NL_MEASUREMENT_MEASUREMENT);
if (fmt && *fmt == 2)
......
Supports Markdown
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