mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:45:46 +00:00
[WINE]
Add msvchelper.h, a file that helps wine dx stuff to comple on msvc. svn path=/branches/cmake-bringup/; revision=49859
This commit is contained in:
parent
1a27a9ff85
commit
434632f5ca
1 changed files with 32 additions and 0 deletions
32
include/reactos/msvchelper.h
Normal file
32
include/reactos/msvchelper.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
//
|
||||
#ifdef _M_IX86
|
||||
void __stdcall wined3d_mutex_lock(void);
|
||||
void __stdcall wined3d_mutex_unlock(void);
|
||||
void* __stdcall WineDirect3DCreate(unsigned int dxVersion,void *parent);
|
||||
|
||||
void __inline wined3d_mutex_lock_inline(void)
|
||||
{
|
||||
wined3d_mutex_lock();
|
||||
}
|
||||
|
||||
void __inline wined3d_mutex_unlock_inline(void)
|
||||
{
|
||||
wined3d_mutex_unlock();
|
||||
}
|
||||
|
||||
__inline
|
||||
struct IWineD3D* WineDirect3DCreate_inline(unsigned int dxVersion,void *parent)
|
||||
{
|
||||
return WineDirect3DCreate(dxVersion, parent);
|
||||
}
|
||||
|
||||
#define wined3d_mutex_lock wined3d_mutex_lock_inline
|
||||
#define wined3d_mutex_unlock wined3d_mutex_unlock_inline
|
||||
#define WineDirect3DCreate WineDirect3DCreate_inline
|
||||
|
||||
#endif /* _M_IX86 */
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue