free( cwd );
}
-#if !defined(__linux__) && !defined(__DARWIN__)
+#if !defined(__GLIBC__) && !defined(__DARWIN__)
// Get the current locale
char *orig_localename = strdup( setlocale( LC_NUMERIC, NULL ) );
setlocale( LC_NUMERIC, "C" );
xmlSaveFormatFileEnc( resource, doc, "utf-8", 1 );
}
-#if !defined(__linux__) && !defined(__DARWIN__)
+#if !defined(__GLIBC__) && !defined(__DARWIN__)
// Restore the current locale
setlocale( LC_NUMERIC, orig_localename );
free( orig_localename );