From a79e5d5b94b771c44d5918ecbdde3945b72fb1fb Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sun, 3 Mar 2013 19:34:58 +0000 Subject: Check to see if GLib's printf routines support the X/Open / POSIX thousands grouping (') flag and use it in format_size if it's available. As far as I can tell this translates to "everywhere except Windows and OpenBSD". According to the various build logs at https://build.opensuse.org/package/show?package=mingw32-glib2&project=windows%3Amingw%3Awin32 the OBS GLib packages enable GLib's internal printf implementation from Gnulib which means we *should* be able to enable this on Windows. Unfortunately this doesn't appear to be the case. svn path=/trunk/; revision=48042 --- config.h.win32 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.win32') diff --git a/config.h.win32 b/config.h.win32 index c10c89e533..8a32639559 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -110,6 +110,9 @@ /* Define if you have the header file. */ /* #define HAVE_NETINET_IN_H 1 */ +/* Define if your printf() function supports thousands grouping. */ +/* #undef HAVE_GLIB_PRINTF_GROUPING */ + /* Define if you have the header file. */ /* #undef HAVE_SNMP_SNMP_H */ -- cgit v1.2.3