mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 01:52:06 +00:00
Port C macro defaults to Solaris and Irix.
This is mostly for convenience, so that plain 'make' works out of the box on Solaris, instead of having to run something awkward like 'make CFLAGS="-xc99=all -DHAVE_INCOMPATIBLE_CTIME_R=1"', and similarly for Irix 6.5. * private.h (_POSIX_PTHREAD_SEMANTICS): * private.h, zdump.c (__EXTENSIONS__): New macros, to make Solaris headers more like what we want out of the box. (LLONG_MAX, LLONG_MIN): Default from __LONG_LONG_MAX__ if it's defined. This simplifies later code. (SCNdFAST64, PRIdMAX): Don't assume they're defined when INT_FAST64_MAX is, as that's not true on Solaris 10 + Sun C 5.12. (PRIuMAX): Likewise, for Solaris 11 + Sun C 5.12. * zdump.c (HAVE_LOCALTIME_RZ): Default to 1 only if TM_ZONE. * Makefile, NEWS: Document this.
This commit is contained in:
2
Makefile
2
Makefile
@ -111,7 +111,7 @@ LDLIBS=
|
||||
# -DHAVE_LINK=0 if your system lacks a link function
|
||||
# -DHAVE_LOCALTIME_R=0 if your system lacks a localtime_r function
|
||||
# -DHAVE_LOCALTIME_RZ=0 if you do not want zdump to use localtime_rz
|
||||
# This defaults to 1 if localtime_rz is known to be available.
|
||||
# This defaults to 1 if a working localtime_rz seems to be available.
|
||||
# localtime_rz can make zdump significantly faster, but is nonstandard.
|
||||
# -DHAVE_SETTIMEOFDAY=0 if settimeofday does not exist (SVR0?)
|
||||
# -DHAVE_SETTIMEOFDAY=1 if settimeofday has just 1 arg (SVR4)
|
||||
|
||||
Reference in New Issue
Block a user