comparison src/fns.c @ 39682:5f60884970a8

Don't define min/max.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 08 Oct 2001 08:07:49 +0000
parents 6d9fa06012a6
children 0b986bb45526
comparison
equal deleted inserted replaced
39681:87cc624f4e1e 39682:5f60884970a8
46 #include "xterm.h" 46 #include "xterm.h"
47 #endif 47 #endif
48 48
49 #ifndef NULL 49 #ifndef NULL
50 #define NULL (void *)0 50 #define NULL (void *)0
51 #endif
52
53 #ifndef min
54 #define min(a, b) ((a) < (b) ? (a) : (b))
55 #define max(a, b) ((a) > (b) ? (a) : (b))
56 #endif 51 #endif
57 52
58 /* Nonzero enables use of dialog boxes for questions 53 /* Nonzero enables use of dialog boxes for questions
59 asked by mouse commands. */ 54 asked by mouse commands. */
60 int use_dialog_box; 55 int use_dialog_box;