Module: wine Branch: master Commit: e3c13943d49a1edfe16bdf1dcea7b86ddea6e311 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3c13943d49a1edfe16bdf1dce...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Jan 25 11:25:03 2013 +0100
d3dcompiler.h: Added D3DCOMPILER_DLL macro.
---
include/d3dcompiler.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/d3dcompiler.h b/include/d3dcompiler.h index 047c1ea..7ce83be 100644 --- a/include/d3dcompiler.h +++ b/include/d3dcompiler.h @@ -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