/*
findlocale-0.46.tar.gz from http://icculus.org/~aspirin/findlocale/
-
+
Copyright (C) 2004 Adam D. Moss (the "Author"). All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
}
+#ifndef WIN32
static int
accumulate_env(const char *name, FL_Locale *l) {
char *env;
free(lang); free(country); free(variant);
return 0;
}
-
+#endif
static void
canonise_fl(FL_Locale *l) {
FL_Locale *rtn) {
LANGID langid = LANGIDFROMLCID(lcid);
LANGID primary_lang = PRIMARYLANGID(langid);
+#if 0
LANGID sub_lang = SUBLANGID(langid);
+#endif
int i;
/* try to find an exact primary/sublanguage combo that we know about */
for (i=0; i<num_both_to_code; ++i) {