Mercurial > emacs
changeset 13364:a568560d232f
(BITS_PER_CHAR, BITS_PER_INT, BITS_PER_SHORT)
(BITS_PER_LONG): Define if not already defined.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 31 Oct 1995 02:48:28 +0000 |
parents | 941c37982f37 |
children | 2cd15d90fec6 |
files | src/config.in |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/config.in Tue Oct 31 02:34:16 1995 +0000 +++ b/src/config.in Tue Oct 31 02:48:28 1995 +0000 @@ -324,3 +324,25 @@ #endif #endif /* EMACS_CONFIG_H */ + +/* These default definitions are good for almost all machines. + The exceptions override them in m/*.h. */ + +#ifndef BITS_PER_CHAR +#define BITS_PER_CHAR 8 +#endif + +#ifndef BITS_PER_SHORT +#define BITS_PER_SHORT 16 +#endif + +/* Note that lisp.h uses this in a preprocessor conditional, so it + would not work to use sizeof. That being so, we do all of them + without sizeof, for uniformity's sake. */ +#ifndef BITS_PER_INT +#define BITS_PER_INT 32 +#endif + +#ifndef BITS_PER_LONG +#define BITS_PER_LONG 32 +#endif