Mercurial > hg > xemacs-beta
comparison src/lisp.h @ 199:169c0442b401 r20-3b26
Import from CVS: tag r20-3b26
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:00:33 +0200 |
parents | a2f645c6b9f8 |
children | eb5470882647 |
comparison
equal
deleted
inserted
replaced
198:a94d4839ade3 | 199:169c0442b401 |
---|---|
70 /* Also define min() and max(). (Some compilers put them in strange | 70 /* Also define min() and max(). (Some compilers put them in strange |
71 places that won't be referenced by the above include files, such | 71 places that won't be referenced by the above include files, such |
72 as 'macros.h' under Solaris.) */ | 72 as 'macros.h' under Solaris.) */ |
73 | 73 |
74 #ifndef min | 74 #ifndef min |
75 #define min(a,b) ((a) <= (b) ? (a) : (b)) | 75 #define min(a,b) (((a) <= (b)) ? (a) : (b)) |
76 #endif | 76 #endif |
77 #ifndef max | 77 #ifndef max |
78 #define max(a,b) ((a) > (b) ? (a) : (b)) | 78 #define max(a,b) (((a) > (b)) ? (a) : (b)) |
79 #endif | 79 #endif |
80 | 80 |
81 /* Emacs needs to use its own definitions of certain system calls on | 81 /* Emacs needs to use its own definitions of certain system calls on |
82 some systems (like SunOS 4.1 and USG systems, where the read system | 82 some systems (like SunOS 4.1 and USG systems, where the read system |
83 call is interruptible but Emacs expects it not to be; and under | 83 call is interruptible but Emacs expects it not to be; and under |