Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
d635c1d7
Commit
d635c1d7
authored
Apr 22, 2014
by
Davis King
Browse files
Added a #define for _NO_W32_PSEUDO_MODIFIERS so that windows.h won't #define IN or OUT
parent
28219262
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dlib/windows_magic.h
dlib/windows_magic.h
+5
-0
No files found.
dlib/windows_magic.h
View file @
d635c1d7
...
...
@@ -14,6 +14,11 @@
#define NOMINMAX // prevent windows from messing with std::min and std::max
#endif
// Prevent windows from #defining IN or OUT
#ifndef _NO_W32_PSEUDO_MODIFIERS
#define _NO_W32_PSEUDO_MODIFIERS
#endif
// now just for good measure undefine min and max if they are defined
#ifdef min
#undef min
...
...
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