comparison fuhtark_test/include/_mingw_dxhelper.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6
7 #ifndef DUMMYUNIONNAME
8 # ifdef NONAMELESSUNION
9 # define DUMMYUNIONNAME u
10 # define DUMMYUNIONNAME1 u1
11 # define DUMMYUNIONNAME2 u2
12 # define DUMMYUNIONNAME3 u3
13 # define DUMMYUNIONNAME4 u4
14 # define DUMMYUNIONNAME5 u5
15 # else /* NONAMELESSUNION */
16 # define DUMMYUNIONNAME
17 # define DUMMYUNIONNAME1
18 # define DUMMYUNIONNAME2
19 # define DUMMYUNIONNAME3
20 # define DUMMYUNIONNAME4
21 # define DUMMYUNIONNAME5
22 # endif
23 #endif /* DUMMYUNIONNAME */
24
25 #ifndef DUMMYSTRUCTNAME
26 # ifdef NONAMELESSSTRUCT
27 # define DUMMYSTRUCTNAME s
28 # else
29 # define DUMMYSTRUCTNAME
30 # endif
31 #endif
32
33
34 /* These are for compatibility with the Wine source tree */
35
36 #ifndef WINELIB_NAME_AW
37 # ifdef __MINGW_NAME_AW
38 # define WINELIB_NAME_AW __MINGW_NAME_AW
39 # else
40 # ifdef UNICODE
41 # define WINELIB_NAME_AW(func) func##W
42 # else
43 # define WINELIB_NAME_AW(func) func##A
44 # endif
45 # endif
46 #endif /* WINELIB_NAME_AW */
47
48 #ifndef DECL_WINELIB_TYPE_AW
49 # ifdef __MINGW_TYPEDEF_AW
50 # define DECL_WINELIB_TYPE_AW __MINGW_TYPEDEF_AW
51 # else
52 # define DECL_WINELIB_TYPE_AW(type) typedef WINELIB_NAME_AW(type) type;
53 # endif
54 #endif /* DECL_WINELIB_TYPE_AW */
55