diff options
author | Andrew Innes <andrewi@gnu.org> | 2000-08-22 23:32:51 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2000-08-22 23:32:51 +0000 |
commit | c86a406437166a1b2cbd8f5707ba70aeec8e1865 (patch) | |
tree | a95e9dc1f37ccc65bbb69d6f86c17db257e496dc /src/w32heap.h | |
parent | 2e4f64777739a60d7362bb71795135374a954dbb (diff) | |
download | emacs-c86a406437166a1b2cbd8f5707ba70aeec8e1865.tar.gz |
Undefine min, max.
Diffstat (limited to 'src/w32heap.h')
-rw-r--r-- | src/w32heap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32heap.h b/src/w32heap.h index d9848261f19..77004e9bcd5 100644 --- a/src/w32heap.h +++ b/src/w32heap.h @@ -25,6 +25,11 @@ Boston, MA 02111-1307, USA. #define NTHEAP_H_ #include <windows.h> +/* Emacs takes care of ensuring that these are defined. */ +#ifdef max +#undef max +#undef min +#endif #define ROUND_UP(p, align) (((DWORD)(p) + (align)-1) & ~((align)-1)) #define ROUND_DOWN(p, align) ((DWORD)(p) & ~((align)-1)) |