ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/winapifamily.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 698 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6 #ifndef _INC_WINAPIFAMILY
7 #define _INC_WINAPIFAMILY
8
9 #define WINAPI_PARTITION_DESKTOP 0x1
10 #define WINAPI_PARTITION_APP 0x2
11
12 #define WINAPI_FAMILY_APP WINAPI_PARTITION_APP
13 #define WINAPI_FAMILY_DESKTOP_APP (WINAPI_PARTITION_DESKTOP \
14 | WINAPI_PARTITION_APP)
15
16 /* WINAPI_FAMILY can be either desktop + App, or App. */
17 #ifndef WINAPI_FAMILY
18 #define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
19 #endif
20
21 #define WINAPI_FAMILY_PARTITION(v) ((WINAPI_FAMILY & v) == v)
22 #define WINAPI_FAMILY_ONE_PARTITION(vset, v) ((WINAPI_FAMILY & vset) == v)
23
24 #endif