summaryrefslogtreecommitdiff
path: root/src/w32gui.h
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2000-08-22 23:32:51 +0000
committerAndrew Innes <andrewi@gnu.org>2000-08-22 23:32:51 +0000
commitc86a406437166a1b2cbd8f5707ba70aeec8e1865 (patch)
treea95e9dc1f37ccc65bbb69d6f86c17db257e496dc /src/w32gui.h
parent2e4f64777739a60d7362bb71795135374a954dbb (diff)
Undefine min, max.
Diffstat (limited to 'src/w32gui.h')
-rw-r--r--src/w32gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/w32gui.h b/src/w32gui.h
index ba7b5c584a..fdec0ab55b 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -21,6 +21,12 @@ Boston, MA 02111-1307, USA. */
#ifndef EMACS_W32GUI_H
#define EMACS_W32GUI_H
#include <windows.h>
+/* Emacs takes care of ensuring that these are defined. */
+#ifdef max
+#undef max
+#undef min
+#endif
+
#include "w32bdf.h"
typedef struct W32FontStruct {