aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes2001-10-08 22:41:09 +0000
committerAndrew Innes2001-10-08 22:41:09 +0000
commit76ba8dafafca61a90eccf5671e8ec84d5b817acd (patch)
tree787b35e523c3aaa30d478905fef62b01f9689874 /src
parent152180e34e42cff9082d73954cb676557b60be23 (diff)
downloademacs-76ba8dafafca61a90eccf5671e8ec84d5b817acd.tar.gz
emacs-76ba8dafafca61a90eccf5671e8ec84d5b817acd.zip
Do not undef min and max.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/s/ms-w32.h6
-rw-r--r--src/w32gui.h5
-rw-r--r--src/w32heap.h5
4 files changed, 10 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 978f7ee5a83..fcd316010fa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12001-10-08 Andrew Innes <andrewi@gnu.org>
2
3 * lisp.h [max]: Undef min and max before redefining them.
4
5 * w32gui.h: Do not undef min and max.
6
7 * w32heap.h: Do not undef min and max.
8
9 * s/ms-w32.h: Do not undef min and max.
10
12001-10-08 Stefan Monnier <monnier@cs.yale.edu> 112001-10-08 Stefan Monnier <monnier@cs.yale.edu>
2 12
3 * xdisp.c (handle_fontified_prop): Don't bind after-change-functions. 13 * xdisp.c (handle_fontified_prop): Don't bind after-change-functions.
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index 0ec0ef5f60b..7c1c62e3ffd 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -457,12 +457,6 @@ extern char *get_emacs_configuration_options (void);
457#endif 457#endif
458#include <string.h> 458#include <string.h>
459 459
460/* Emacs takes care of ensuring that these are defined. */
461#ifdef max
462#undef max
463#undef min
464#endif
465
466/* We need a little extra space, see ../../lisp/loadup.el */ 460/* We need a little extra space, see ../../lisp/loadup.el */
467#define SYSTEM_PURESIZE_EXTRA 137500 461#define SYSTEM_PURESIZE_EXTRA 137500
468 462
diff --git a/src/w32gui.h b/src/w32gui.h
index 3d4909217fe..13a9b9b2104 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -21,11 +21,6 @@ Boston, MA 02111-1307, USA. */
21#ifndef EMACS_W32GUI_H 21#ifndef EMACS_W32GUI_H
22#define EMACS_W32GUI_H 22#define EMACS_W32GUI_H
23#include <windows.h> 23#include <windows.h>
24/* Emacs takes care of ensuring that these are defined. */
25#ifdef max
26#undef max
27#undef min
28#endif
29 24
30#include "w32bdf.h" 25#include "w32bdf.h"
31 26
diff --git a/src/w32heap.h b/src/w32heap.h
index 8c50c088675..6abd658b76d 100644
--- a/src/w32heap.h
+++ b/src/w32heap.h
@@ -25,11 +25,6 @@ Boston, MA 02111-1307, USA.
25#define NTHEAP_H_ 25#define NTHEAP_H_
26 26
27#include <windows.h> 27#include <windows.h>
28/* Emacs takes care of ensuring that these are defined. */
29#ifdef max
30#undef max
31#undef min
32#endif
33 28
34#define ROUND_UP(p, align) (((DWORD)(p) + (align)-1) & ~((align)-1)) 29#define ROUND_UP(p, align) (((DWORD)(p) + (align)-1) & ~((align)-1))
35#define ROUND_DOWN(p, align) ((DWORD)(p) & ~((align)-1)) 30#define ROUND_DOWN(p, align) ((DWORD)(p) & ~((align)-1))