Author: tkreuzer
Date: Mon Nov 29 09:29:20 2010
New Revision: 49859
URL:
http://svn.reactos.org/svn/reactos?rev=49859&view=rev
Log:
[WINE]
Add msvchelper.h, a file that helps wine dx stuff to comple on msvc.
Added:
branches/cmake-bringup/include/reactos/msvchelper.h (with props)
Added: branches/cmake-bringup/include/reactos/msvchelper.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/reactos/m…
==============================================================================
--- branches/cmake-bringup/include/reactos/msvchelper.h (added)
+++ branches/cmake-bringup/include/reactos/msvchelper.h [iso-8859-1] Mon Nov 29 09:29:20
2010
@@ -1,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 */
+
+
+
+
Propchange: branches/cmake-bringup/include/reactos/msvchelper.h
------------------------------------------------------------------------------
svn:eol-style = native