d3dcompiler.h: Added missing extern "C".

This commit is contained in:
Jacek Caban 2012-06-13 11:48:04 +02:00 committed by Alexandre Julliard
parent 71ac2d90df
commit ee82123bd4
1 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,10 @@
#include "d3d11shader.h"
#ifdef __cplusplus
extern "C" {
#endif
#define D3DCOMPILE_DEBUG 0x0001
#define D3DCOMPILE_SKIP_VALIDATION 0x0002
#define D3DCOMPILE_SKIP_OPTIMIZATION 0x0004
@ -85,4 +89,8 @@ HRESULT WINAPI D3DPreprocess(const void *data, SIZE_T size, const char *filename
const D3D_SHADER_MACRO *defines, ID3DInclude *include,
ID3DBlob **shader, ID3DBlob **error_messages);
#ifdef __cplusplus
}
#endif
#endif