diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-10 03:03:23 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-10 03:03:23 +0000 |
commit | cdb8117b8f1ac752d1927b82759c5be9f0ec0ab5 (patch) | |
tree | ebd07d36ab12076de3523b744cc87f975747f3e0 /macros/texinfo/texinfo/info/pcterm.c | |
parent | 140e2f7f1509acd423172e2895d0d7839e5b88c6 (diff) |
CTAN sync 202401100303
Diffstat (limited to 'macros/texinfo/texinfo/info/pcterm.c')
-rw-r--r-- | macros/texinfo/texinfo/info/pcterm.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/macros/texinfo/texinfo/info/pcterm.c b/macros/texinfo/texinfo/info/pcterm.c index b9d20b592a..a48478d29d 100644 --- a/macros/texinfo/texinfo/info/pcterm.c +++ b/macros/texinfo/texinfo/info/pcterm.c @@ -1,6 +1,6 @@ /* pcterm.c -- How to handle the PC terminal for Info under MS-DOS/MS-Windows. - Copyright 1998-2022 Free Software Foundation, Inc. + Copyright 1998-2023 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -950,6 +950,15 @@ pc_set_bg_color (int color) textbackground (convert_color (color) | (norm_attr & BACKGROUND_INTENSITY)); } +#ifdef MAX +#undef MAX +#endif +#define MAX(a,b) ((a) > (b) ? (a) : (b)) +#ifdef MIN +#undef MIN +#endif +#define MIN(a,b) ((a) < (b) ? (a) : (b)) + /* Move the cursor up one line. */ static void pc_up_line (void) |