* tzmap-from-unicode.org: Create tzmap as const.

* tzmap.h: Regenerate.
This commit is contained in:
Corinna Vinschen 2014-12-05 14:39:04 +00:00
parent 4c2380d396
commit ce6c6a4d82
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-12-05 Václav Zeman <vhaisman@gmail.com>
* tzmap-from-unicode.org: Create tzmap as const.
* tzmap.h: Regenerate.
2014-12-05 Corinna Vinschen <corinna@vinschen.de> 2014-12-05 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Add rules to create and depend on tzmap.h. * Makefile.in: Add rules to create and depend on tzmap.h.

View File

@ -59,7 +59,7 @@ echo "{"
echo " PCWSTR win_tzkey;" echo " PCWSTR win_tzkey;"
echo " PCWSTR country;" echo " PCWSTR country;"
echo " PCWSTR posix_tzid;" echo " PCWSTR posix_tzid;"
echo "} tzmap[] =" echo "} const tzmap[] ="
echo "{" echo "{"
wget -O - "${ZONES_FILE}" | \ wget -O - "${ZONES_FILE}" | \
{ {

View File

@ -47,7 +47,7 @@ struct
PCWSTR win_tzkey; PCWSTR win_tzkey;
PCWSTR country; PCWSTR country;
PCWSTR posix_tzid; PCWSTR posix_tzid;
} tzmap[] = } const tzmap[] =
{ {
{ L"AUS Central Standard Time", L"", L"Australia/Darwin" }, { L"AUS Central Standard Time", L"", L"Australia/Darwin" },
{ L"AUS Central Standard Time", L"AU", L"Australia/Darwin" }, { L"AUS Central Standard Time", L"AU", L"Australia/Darwin" },