aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 7f6a2d72c89..e4eb8ce5084 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -45,22 +45,24 @@ extern void check_cons_list (void);
45 EMACS_INT_MAX - maximum value of EMACS_INT; can be used in #if 45 EMACS_INT_MAX - maximum value of EMACS_INT; can be used in #if
46 pI - printf length modifier for EMACS_INT 46 pI - printf length modifier for EMACS_INT
47 EMACS_UINT - unsigned variant of EMACS_INT */ 47 EMACS_UINT - unsigned variant of EMACS_INT */
48#ifndef EMACS_INT 48#ifndef EMACS_INT_MAX
49# if LONG_MAX < LLONG_MAX && defined WIDE_EMACS_INT 49# if LONG_MAX < LLONG_MAX && defined WIDE_EMACS_INT
50# define EMACS_INT long long 50typedef long long int EMACS_INT;
51typedef unsigned long long int EMACS_UINT;
51# define EMACS_INT_MAX LLONG_MAX 52# define EMACS_INT_MAX LLONG_MAX
52# define pI "ll" 53# define pI "ll"
53# elif INT_MAX < LONG_MAX 54# elif INT_MAX < LONG_MAX
54# define EMACS_INT long 55typedef long int EMACS_INT;
56typedef unsigned long int EMACS_UINT;
55# define EMACS_INT_MAX LONG_MAX 57# define EMACS_INT_MAX LONG_MAX
56# define pI "l" 58# define pI "l"
57# else 59# else
58# define EMACS_INT int 60typedef int EMACS_INT;
61typedef unsigned int EMACS_UINT;
59# define EMACS_INT_MAX INT_MAX 62# define EMACS_INT_MAX INT_MAX
60# define pI "" 63# define pI ""
61# endif 64# endif
62#endif 65#endif
63#define EMACS_UINT unsigned EMACS_INT
64 66
65/* Number of bits in some machine integer types. */ 67/* Number of bits in some machine integer types. */
66enum 68enum