+#elif defined(USE_GLIB2_HOSTNAME)
+ gchar *ace_hostname = NULL;
+ ace_hostname = g_hostname_to_ascii(host->name);
+ if(ace_hostname) {
+ host->encalloc = (char *)ace_hostname;
+ host->name = host->encalloc;
+ }
+ else
+ infof(data, "Failed to convert %s to ACE;\n", host->name);