gcc 4.0 compile fix
Kristiaan Lenaerts
kristiaan.lenaerts at gmail.com
Sat May 28 04:00:27 CDT 2005
Hello,
basetexture.c fails to compile on gcc 4.0, because
IDirect3DBaseTexture8Vtbl is defined extern in d3d8_private.h, and
static in basetexture.c. This patch makes it compile under gcc 4.0.
Changelog:
gcc 4.0 compile fix.
Index: dlls/d3d8/d3d8_private.h
===================================================================
RCS file: /home/wine/wine/dlls/d3d8/d3d8_private.h,v
retrieving revision 1.62
diff -u -r1.62 d3d8_private.h
--- dlls/d3d8/d3d8_private.h 27 May 2005 20:17:37 -0000 1.62
+++ dlls/d3d8/d3d8_private.h 28 May 2005 08:51:07 -0000
@@ -813,7 +813,7 @@
/*****************************************************************************
* Predeclare the interface implementation structures
*/
-extern const IDirect3DBaseTexture8Vtbl Direct3DBaseTexture8_Vtbl;
+static const IDirect3DBaseTexture8Vtbl Direct3DBaseTexture8_Vtbl;
/*****************************************************************************
* IDirect3DBaseTexture8 implementation structure
More information about the wine-patches
mailing list