Commit Graph

24 Commits

Author SHA1 Message Date
kleink 84a2a5ca6e Merge tzcode2003e. 2003-12-20 00:12:05 +00:00
lukem 171d653219 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
wiz d56bb7c2ec __STDC__ is always defined on NetBSD. 2002-05-26 11:48:00 +00:00
bjh21 bde73607cc Pull in config.h when we're building zic as a host tool.
This makes zic compilable with Sun WorkShop C 5.0.
2002-04-26 17:31:54 +00:00
kleink 4521dc7de4 Merge tzcode2002b. 2002-01-29 12:40:33 +00:00
cgd 9ac9838b47 #undef, not #undefine. 2001-01-16 02:38:17 +00:00
kleink 12f15ca014 Merge strftime from tzcode2000g. 2000-12-12 15:35:31 +00:00
kleink b883dd18d1 Merge tzcode2000g. 2000-12-12 15:25:41 +00:00
christos 94a9754eeb #ifdef out duplicate declaration for unlink. 2000-12-10 03:56:31 +00:00
is f518246fc1 Format string cleanup, by Bill Sommerfeld. 2000-10-10 18:09:25 +00:00
kleink ae7e338dbb Merge tzcode1999h. 1999-11-10 20:32:30 +00:00
kleink be296d891c Merge tzcode1998h. 1998-10-04 19:27:55 +00:00
kleink 91e1adbe6e Merge tzcode1998f. 1998-09-10 15:58:38 +00:00
kleink 0e8ab3112e Fix the approximation of log10(2.0) used in INT_STRLEN_MAXIMUM; this resulted
in a fair amount of space wasted in the static result buffer used in
asctime().  Noticed by Randy Thelen <rthelen@netapp.com> on tz@elsie.
1998-09-09 11:32:13 +00:00
jtc 0f031182c5 sync with tzcode1997g 1997-09-05 02:11:55 +00:00
christos 3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
jtc 359f61a781 Sync with tzcode1997e 1997-06-18 01:12:39 +00:00
jtc 95c287709b set HAVE_STRERROR 1996-09-13 17:46:49 +00:00
jtc 9b9f8829d1 sync with tzcode96l 1996-09-10 22:04:29 +00:00
jtc 0f94396cf3 sync with tzcode96c 1996-01-20 02:29:47 +00:00
jtc c875c647a0 sync with tzcode96a 1996-01-08 22:50:54 +00:00
jtc 990d7c70e0 Added some #defines for NetBSD's defaults. 1995-03-14 18:49:49 +00:00
jtc ac90835477 Add NetBSD Id's. 1995-03-09 23:41:11 +00:00
jtc 1fac1c1776 New time and date code from ADO 1995-03-09 23:21:48 +00:00