diff options
| author | Richard M. Stallman | 1995-10-31 02:48:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-31 02:48:28 +0000 |
| commit | 2017bc3de90c0bf81bc2f25b3f9a33a2008d57dd (patch) | |
| tree | 5ef9b6b732add1a19efed70bf8d949f737b93306 /src/config.in | |
| parent | 68be917ded75e3147180af2a0a51fc8c89d042d8 (diff) | |
| download | emacs-2017bc3de90c0bf81bc2f25b3f9a33a2008d57dd.tar.gz emacs-2017bc3de90c0bf81bc2f25b3f9a33a2008d57dd.zip | |
(BITS_PER_CHAR, BITS_PER_INT, BITS_PER_SHORT)
(BITS_PER_LONG): Define if not already defined.
Diffstat (limited to 'src/config.in')
| -rw-r--r-- | src/config.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in index c2dc3f8be5f..94e9a44b3b7 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -324,3 +324,25 @@ extern char *getenv (); | |||
| 324 | #endif | 324 | #endif |
| 325 | 325 | ||
| 326 | #endif /* EMACS_CONFIG_H */ | 326 | #endif /* EMACS_CONFIG_H */ |
| 327 | |||
| 328 | /* These default definitions are good for almost all machines. | ||
| 329 | The exceptions override them in m/*.h. */ | ||
| 330 | |||
| 331 | #ifndef BITS_PER_CHAR | ||
| 332 | #define BITS_PER_CHAR 8 | ||
| 333 | #endif | ||
| 334 | |||
| 335 | #ifndef BITS_PER_SHORT | ||
| 336 | #define BITS_PER_SHORT 16 | ||
| 337 | #endif | ||
| 338 | |||
| 339 | /* Note that lisp.h uses this in a preprocessor conditional, so it | ||
| 340 | would not work to use sizeof. That being so, we do all of them | ||
| 341 | without sizeof, for uniformity's sake. */ | ||
| 342 | #ifndef BITS_PER_INT | ||
| 343 | #define BITS_PER_INT 32 | ||
| 344 | #endif | ||
| 345 | |||
| 346 | #ifndef BITS_PER_LONG | ||
| 347 | #define BITS_PER_LONG 32 | ||
| 348 | #endif | ||