Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c86a4064
Commit
c86a4064
authored
Aug 22, 2000
by
Andrew Innes
Browse files
Undefine min, max.
parent
2e4f6477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
src/w32gui.h
src/w32gui.h
+6
-0
src/w32heap.h
src/w32heap.h
+5
-0
No files found.
src/w32gui.h
View file @
c86a4064
...
...
@@ -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
{
...
...
src/w32heap.h
View file @
c86a4064
...
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment