Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
90c29ab3
Commit
90c29ab3
authored
Sep 06, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make GUIDs non-const when compiling MIDL/widl generated proxies.
parent
39a696a1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
guiddef.h
include/guiddef.h
+10
-4
rpcproxy.h
include/rpcproxy.h
+4
-0
No files found.
include/guiddef.h
View file @
90c29ab3
...
...
@@ -52,16 +52,22 @@ typedef GUID IID,*LPIID;
#endif
/* ndef __IID_DEFINED__ */
typedef
GUID
FMTID
,
*
LPFMTID
;
#ifdef __midl_proxy
#define __MIDL_CONST
#else
#define __MIDL_CONST const
#endif
#if defined(__cplusplus) && !defined(CINTERFACE)
#define REFGUID const GUID &
#define REFCLSID const CLSID &
#define REFIID const IID &
#define REFFMTID const FMTID &
#else
/* !defined(__cplusplus) && !defined(CINTERFACE) */
#define REFGUID const GUID*
const
#define REFCLSID const CLSID*
const
#define REFIID const IID*
const
#define REFFMTID const FMTID*
const
#define REFGUID const GUID*
__MIDL_CONST
#define REFCLSID const CLSID*
__MIDL_CONST
#define REFIID const IID*
__MIDL_CONST
#define REFFMTID const FMTID*
__MIDL_CONST
#endif
/* !defined(__cplusplus) && !defined(CINTERFACE) */
#if defined(__cplusplus) && !defined(CINTERFACE)
...
...
include/rpcproxy.h
View file @
90c29ab3
...
...
@@ -24,8 +24,12 @@
#ifndef __WINE_RPCPROXY_H
#define __WINE_RPCPROXY_H
#define __midl_proxy
#include <basetsd.h>
#ifndef GUID_DEFINED
#include <guiddef.h>
#endif
#include <rpc.h>
#include <rpcndr.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment