* include/tzfile.h: Remove duplicate definition of TM_SUNDAY.

* localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used
	by the tzcode package.
This commit is contained in:
Corinna Vinschen 2003-12-01 10:39:17 +00:00
parent 635fa4ba48
commit cb766c47bb
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-12-01 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
* include/tzfile.h: Remove duplicate definition of TM_SUNDAY.
* localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used
by the tzcode package.
2003-11-30 Corinna Vinschen <corinna@vinschen.de>
* flock.cc: Renamed from flock.c.

View File

@ -41,7 +41,6 @@ details. */
#define TM_OCTOBER 9
#define TM_NOVEMBER 10
#define TM_DECEMBER 11
#define TM_SUNDAY 0
#define TM_YEAR_BASE 1900

View File

@ -303,7 +303,7 @@ static char tzfilehid[] = "@(#)tzfile.h 7.14";
*/
#ifndef TZDIR
#define TZDIR "/usr/local/etc/zoneinfo" /* Time zone object file directory */
#define TZDIR "/usr/share/zoneinfo" /* Time zone object file directory */
#endif /* !defined TZDIR */
#ifndef TZDEFAULT