Fix rpcndr.h so it takes CONST_VTABLE into account.

Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
oldstable
Francois Gouget 2006-09-29 12:45:44 +02:00 committed by Alexandre Julliard
parent 4b2d7e9321
commit 87045eb0c5
9 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,7 @@
*/
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <stdarg.h>

View File

@ -19,6 +19,7 @@
*/
#define COBJMACROS
#define CONST_VTABLE
#include <stdarg.h>

View File

@ -20,6 +20,7 @@
#define _WIN32_DCOM
#define COBJMACROS
#define CONST_VTABLE
#include <stdarg.h>

View File

@ -17,6 +17,7 @@
*/
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <stdarg.h>

View File

@ -22,6 +22,7 @@
#include <stdio.h>
#define COBJMACROS
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"

View File

@ -17,6 +17,7 @@
*/
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <stdarg.h>

View File

@ -17,6 +17,7 @@
*/
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <stdarg.h>

View File

@ -22,6 +22,7 @@
#include <stdarg.h>
#define COBJMACROS
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"

View File

@ -30,6 +30,13 @@ extern "C" {
#include <basetsd.h>
#undef CONST_VTBL
#ifdef CONST_VTABLE
# define CONST_VTBL const
#else
# define CONST_VTBL
#endif
/* stupid #if can't handle casts... this __stupidity
is just a workaround for that limitation */