Commit 451e4d32 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

d3dcompiler_43/tests: Avoid using GCC's typeof extension.

parent 54a9e849
......@@ -33,9 +33,9 @@
*/
#define D3DERR_INVALIDCALL 0x8876086c
static typeof(D3DCreateBlob) *pD3DCreateBlob;
static typeof(D3DGetBlobPart) *pD3DGetBlobPart;
static typeof(D3DStripShader) *pD3DStripShader;
static HRESULT (WINAPI *pD3DCreateBlob)(SIZE_T, ID3DBlob **);
static HRESULT (WINAPI *pD3DGetBlobPart)(const void *, SIZE_T, D3D_BLOB_PART, UINT, ID3DBlob **);
static HRESULT (WINAPI *pD3DStripShader)(const void *, SIZE_T, UINT, ID3DBlob **);
#define MAKE_TAG(ch0, ch1, ch2, ch3) \
((DWORD)(ch0) | ((DWORD)(ch1) << 8) | \
......
......@@ -38,7 +38,7 @@
*/
#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) */
static DWORD shader_creator[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment