d3dcompiler.h: Added D3DCOMPILER_DLL macro.

oldstable
Jacek Caban 2013-01-25 11:25:03 +01:00 committed by Alexandre Julliard
parent ddc868c4a0
commit e3c13943d4
1 changed files with 11 additions and 0 deletions

View File

@ -25,6 +25,17 @@
extern "C" {
#endif
#if defined(__GNUC__)
#define D3DCOMPILER_DLL_W (const WCHAR[]){'d','3','d','c','o','m','p','i','l','e','r','_','4','3','.','d','l','l',0};
#elif defined(_MSV_VER)
#define D3DCOMPILER_DLL_W L"d3dcompiler_43.dll"
#else
static const WCHAR D3DCOMPILER_DLL_W[] = {'d','3','d','c','o','m','p','i','l','e','r','_','4','3','.','d','l','l',0};
#endif
#define D3DCOMPILER_DLL_A "d3dcompiler_43.dll"
#define D3DCOMPILER_DLL WINELIB_NAME_AW(D3DCOMPILER_DLL_)
#define D3DCOMPILE_DEBUG 0x00000001
#define D3DCOMPILE_SKIP_VALIDATION 0x00000002
#define D3DCOMPILE_SKIP_OPTIMIZATION 0x00000004