1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00

(min, max): Define as macros.

This commit is contained in:
Karl Heuer 1998-04-09 18:12:46 +00:00
parent f4fe72d542
commit 03887dd388
3 changed files with 15 additions and 0 deletions

View file

@ -47,6 +47,11 @@ extern char my_endbss[];
#include "w32heap.h"
#undef min
#undef max
#define min(x, y) (((x) < (y)) ? (x) : (y))
#define max(x, y) (((x) > (y)) ? (x) : (y))
/* Basically, our "initialized" flag. */
BOOL need_to_recreate_heap = FALSE;

View file

@ -79,6 +79,11 @@ Boston, MA 02111-1307, USA.
#include "ndir.h"
#include "w32heap.h"
#undef min
#undef max
#define min(x, y) (((x) < (y)) ? (x) : (y))
#define max(x, y) (((x) > (y)) ? (x) : (y))
extern Lisp_Object Vw32_downcase_file_names;
extern Lisp_Object Vw32_generate_fake_inodes;
extern Lisp_Object Vw32_get_true_file_attributes;

View file

@ -49,6 +49,11 @@ Boston, MA 02111-1307, USA. */
#include "keyboard.h"
#include "intervals.h"
#undef min
#undef max
#define min(x, y) (((x) < (y)) ? (x) : (y))
#define max(x, y) (((x) > (y)) ? (x) : (y))
extern void free_frame_menubar ();
extern Lisp_Object Vwindow_system;