d3dcompiler_43/tests: Avoid using GCC's typeof extension.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
54a9e84952
commit
451e4d326e
|
@ -33,9 +33,9 @@
|
||||||
*/
|
*/
|
||||||
#define D3DERR_INVALIDCALL 0x8876086c
|
#define D3DERR_INVALIDCALL 0x8876086c
|
||||||
|
|
||||||
static typeof(D3DCreateBlob) *pD3DCreateBlob;
|
static HRESULT (WINAPI *pD3DCreateBlob)(SIZE_T, ID3DBlob **);
|
||||||
static typeof(D3DGetBlobPart) *pD3DGetBlobPart;
|
static HRESULT (WINAPI *pD3DGetBlobPart)(const void *, SIZE_T, D3D_BLOB_PART, UINT, ID3DBlob **);
|
||||||
static typeof(D3DStripShader) *pD3DStripShader;
|
static HRESULT (WINAPI *pD3DStripShader)(const void *, SIZE_T, UINT, ID3DBlob **);
|
||||||
|
|
||||||
#define MAKE_TAG(ch0, ch1, ch2, ch3) \
|
#define MAKE_TAG(ch0, ch1, ch2, ch3) \
|
||||||
((DWORD)(ch0) | ((DWORD)(ch1) << 8) | \
|
((DWORD)(ch0) | ((DWORD)(ch1) << 8) | \
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
#define D3DERR_INVALIDCALL 0x8876086c
|
#define D3DERR_INVALIDCALL 0x8876086c
|
||||||
|
|
||||||
static typeof(D3DReflect) *pD3DReflect;
|
static HRESULT (WINAPI *pD3DReflect)(const void *, SIZE_T, REFIID, void **);
|
||||||
|
|
||||||
/* Creator string for comparison - Version 9.29.952.3111 (43) */
|
/* Creator string for comparison - Version 9.29.952.3111 (43) */
|
||||||
static DWORD shader_creator[] = {
|
static DWORD shader_creator[] = {
|
||||||
|
|
Loading…
Reference in New Issue