Improve seed()

Added charbit.h to define CALC_CHARBIT which is either CHAR_BIT
from <limits.h> or 8 or a value set by the Makefile variable
CALC_CHARBIT.  Added have_limits.h to determine if <limits.h>
is a system include file.
This commit is contained in:
Landon Curt Noll
2021-12-07 21:41:28 -08:00
parent a02f8aa9f9
commit 177a5d00d1
8 changed files with 208 additions and 14 deletions

2
.gitignore vendored
View File

@@ -16,6 +16,7 @@ calc.1
calc.usage
calcerr.c
calcerr.h
charbit.h
conf.h
cscript/.all
cscript/4dsphere
@@ -43,6 +44,7 @@ have_getpgid.h
have_getprid.h
have_getsid.h
have_gettime.h
have_limits.h
have_memmv.h
have_newstr.h
have_offscl.h