jpayne@69
|
1 // Copyright (c) 2013-2017 Sandstorm Development Group, Inc. and contributors
|
jpayne@69
|
2 // Licensed under the MIT License:
|
jpayne@69
|
3 //
|
jpayne@69
|
4 // Permission is hereby granted, free of charge, to any person obtaining a copy
|
jpayne@69
|
5 // of this software and associated documentation files (the "Software"), to deal
|
jpayne@69
|
6 // in the Software without restriction, including without limitation the rights
|
jpayne@69
|
7 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
jpayne@69
|
8 // copies of the Software, and to permit persons to whom the Software is
|
jpayne@69
|
9 // furnished to do so, subject to the following conditions:
|
jpayne@69
|
10 //
|
jpayne@69
|
11 // The above copyright notice and this permission notice shall be included in
|
jpayne@69
|
12 // all copies or substantial portions of the Software.
|
jpayne@69
|
13 //
|
jpayne@69
|
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
jpayne@69
|
15 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
jpayne@69
|
16 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
jpayne@69
|
17 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
jpayne@69
|
18 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
jpayne@69
|
19 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
jpayne@69
|
20 // THE SOFTWARE.
|
jpayne@69
|
21
|
jpayne@69
|
22 #pragma once
|
jpayne@69
|
23
|
jpayne@69
|
24 // Request Vista-level APIs.
|
jpayne@69
|
25 #ifndef WINVER
|
jpayne@69
|
26 #define WINVER 0x0600
|
jpayne@69
|
27 #elif WINVER < 0x0600
|
jpayne@69
|
28 #error "WINVER defined but older than Vista"
|
jpayne@69
|
29 #endif
|
jpayne@69
|
30
|
jpayne@69
|
31 #ifndef _WIN32_WINNT
|
jpayne@69
|
32 #define _WIN32_WINNT 0x0600
|
jpayne@69
|
33 #elif _WIN32_WINNT < 0x0600
|
jpayne@69
|
34 #error "_WIN32_WINNT defined but older than Vista"
|
jpayne@69
|
35 #endif
|
jpayne@69
|
36
|
jpayne@69
|
37 #ifndef WIN32_LEAN_AND_MEAN
|
jpayne@69
|
38 #define WIN32_LEAN_AND_MEAN // ::eyeroll::
|
jpayne@69
|
39 #endif
|
jpayne@69
|
40
|
jpayne@69
|
41 #define NOSERVICE 1
|
jpayne@69
|
42 #define NOMCX 1
|
jpayne@69
|
43 #define NOIME 1
|
jpayne@69
|
44 #define NOMINMAX 1
|