diff options
| author | Karl Heuer | 1998-04-09 18:12:46 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-04-09 18:12:46 +0000 |
| commit | 03887dd3884cd7bf42ed18f2fac974653fb628be (patch) | |
| tree | ea3d65593cff5bf79dc1920f01d1c0d20492a352 | |
| parent | f4fe72d542cac4978ce691b89a0fe2524515b274 (diff) | |
| download | emacs-03887dd3884cd7bf42ed18f2fac974653fb628be.tar.gz emacs-03887dd3884cd7bf42ed18f2fac974653fb628be.zip | |
(min, max): Define as macros.
| -rw-r--r-- | src/unexw32.c | 5 | ||||
| -rw-r--r-- | src/w32.c | 5 | ||||
| -rw-r--r-- | src/w32term.c | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/unexw32.c b/src/unexw32.c index b1fa3e85eed..5d196a8b1cb 100644 --- a/src/unexw32.c +++ b/src/unexw32.c | |||
| @@ -47,6 +47,11 @@ extern char my_endbss[]; | |||
| 47 | 47 | ||
| 48 | #include "w32heap.h" | 48 | #include "w32heap.h" |
| 49 | 49 | ||
| 50 | #undef min | ||
| 51 | #undef max | ||
| 52 | #define min(x, y) (((x) < (y)) ? (x) : (y)) | ||
| 53 | #define max(x, y) (((x) > (y)) ? (x) : (y)) | ||
| 54 | |||
| 50 | /* Basically, our "initialized" flag. */ | 55 | /* Basically, our "initialized" flag. */ |
| 51 | BOOL need_to_recreate_heap = FALSE; | 56 | BOOL need_to_recreate_heap = FALSE; |
| 52 | 57 | ||
| @@ -79,6 +79,11 @@ Boston, MA 02111-1307, USA. | |||
| 79 | #include "ndir.h" | 79 | #include "ndir.h" |
| 80 | #include "w32heap.h" | 80 | #include "w32heap.h" |
| 81 | 81 | ||
| 82 | #undef min | ||
| 83 | #undef max | ||
| 84 | #define min(x, y) (((x) < (y)) ? (x) : (y)) | ||
| 85 | #define max(x, y) (((x) > (y)) ? (x) : (y)) | ||
| 86 | |||
| 82 | extern Lisp_Object Vw32_downcase_file_names; | 87 | extern Lisp_Object Vw32_downcase_file_names; |
| 83 | extern Lisp_Object Vw32_generate_fake_inodes; | 88 | extern Lisp_Object Vw32_generate_fake_inodes; |
| 84 | extern Lisp_Object Vw32_get_true_file_attributes; | 89 | extern Lisp_Object Vw32_get_true_file_attributes; |
diff --git a/src/w32term.c b/src/w32term.c index 053c148bc3e..737d189f77f 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -49,6 +49,11 @@ Boston, MA 02111-1307, USA. */ | |||
| 49 | #include "keyboard.h" | 49 | #include "keyboard.h" |
| 50 | #include "intervals.h" | 50 | #include "intervals.h" |
| 51 | 51 | ||
| 52 | #undef min | ||
| 53 | #undef max | ||
| 54 | #define min(x, y) (((x) < (y)) ? (x) : (y)) | ||
| 55 | #define max(x, y) (((x) > (y)) ? (x) : (y)) | ||
| 56 | |||
| 52 | extern void free_frame_menubar (); | 57 | extern void free_frame_menubar (); |
| 53 | 58 | ||
| 54 | extern Lisp_Object Vwindow_system; | 59 | extern Lisp_Object Vwindow_system; |