DEBUG("Freed WIMStruct");
}
-static bool test_locale_ctype_utf8()
+static bool
+test_locale_ctype_utf8()
{
char *ctype = nl_langinfo(CODESET);
strstr(ctype, "utf-8") == 0);
}
-bool wimlib_mbs_is_utf8;
-
/* Get global memory allocations out of the way. Not strictly necessary in
* single-threaded programs like 'imagex'. */
WIMLIBAPI int
libntfs3g_global_init();
#endif
wimlib_mbs_is_utf8 = test_locale_ctype_utf8();
+#ifdef __WIN32__
+ win32_global_init();
+#endif
return 0;
}
{
libxml_global_cleanup();
iconv_global_cleanup();
+#ifdef __WIN32__
+ win32_global_cleanup();
+#endif
}