Commit 76ed2835 authored by Alexandre Julliard's avatar Alexandre Julliard

Make CONST_VTABLE the default in the Wine source.

parent 89cbfd8f
......@@ -24,8 +24,6 @@
#ifndef __D3DXOF_PRIVATE_INCLUDED__
#define __D3DXOF_PRIVATE_INCLUDED__
#define CONST_VTABLE
#include <stdarg.h>
#include "windef.h"
......
......@@ -24,8 +24,6 @@
#include <stdlib.h>
#include <string.h>
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -23,8 +23,6 @@
#include <stdarg.h>
#include <stdlib.h>
#define CONST_VTABLE
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
......
......@@ -56,8 +56,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
......
......@@ -17,8 +17,6 @@
*/
#include <stdarg.h>
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -26,8 +26,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -30,8 +30,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
......
......@@ -31,8 +31,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -27,8 +27,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
......
......@@ -25,8 +25,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
......
......@@ -25,8 +25,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
......
......@@ -24,8 +24,6 @@
#include <assert.h>
#include <string.h>
#define CONST_VTABLE
#include "ddraw_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(ddraw);
......
......@@ -25,8 +25,6 @@
#include <assert.h>
#include <string.h>
#define CONST_VTABLE
#include "ddraw_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(ddraw);
......
......@@ -28,8 +28,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "winerror.h"
#include "wine/debug.h"
#include "ddraw_private.h"
......
......@@ -31,8 +31,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -23,8 +23,6 @@
#include <assert.h>
#include <stdlib.h>
#define CONST_VTABLE
#include "wine/debug.h"
#include "ddraw_private.h"
......
......@@ -25,8 +25,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "wine/debug.h"
#include "ddraw_private.h"
......
......@@ -24,8 +24,6 @@
#include <string.h>
#define COBJMACROS
#define CONST_VTABLE
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
......
......@@ -19,8 +19,6 @@
#include "config.h"
#include <stdarg.h>
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
......
......@@ -23,8 +23,6 @@
#include <stdlib.h>
#include <string.h>
#define CONST_VTABLE
#include "winerror.h"
#include "wine/debug.h"
#include "ddraw_private.h"
......
......@@ -26,8 +26,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
......
......@@ -21,8 +21,6 @@
#include "config.h"
#include <stdarg.h>
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
......
......@@ -25,8 +25,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define CONST_VTABLE
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
......
......@@ -246,6 +246,10 @@
#define interface struct
#ifdef __WINESRC__
#define CONST_VTABLE
#endif
#ifdef CONST_VTABLE
#undef CONST_VTBL
#define CONST_VTBL const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment