Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
336a7dc1
Commit
336a7dc1
authored
Jul 03, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpc.h: Use the correct exception definitions when USE_COMPILER_EXCEPTIONS is set.
parent
94e21789
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
rpc.h
include/rpc.h
+15
-0
No files found.
include/rpc.h
View file @
336a7dc1
...
@@ -64,6 +64,19 @@ typedef void* I_RPC_HANDLE;
...
@@ -64,6 +64,19 @@ typedef void* I_RPC_HANDLE;
#include <rpcasync.h>
#include <rpcasync.h>
#endif
#endif
#ifdef USE_COMPILER_EXCEPTIONS
#define RpcTryExcept __try {
#define RpcExcept(expr) } __except (expr) {
#define RpcEndExcept }
#define RpcTryFinally __try {
#define RpcFinally } __finally {
#define RpcEndFinally }
#define RpcExceptionCode() GetExceptionCode()
#define RpcAbnormalTermination() AbnormalTermination()
#else
/* USE_COMPILER_EXCEPTIONS */
/* ignore exception handling for now */
/* ignore exception handling for now */
#define RpcTryExcept if (1) {
#define RpcTryExcept if (1) {
#define RpcExcept(expr) } else {
#define RpcExcept(expr) } else {
...
@@ -74,4 +87,6 @@ typedef void* I_RPC_HANDLE;
...
@@ -74,4 +87,6 @@ typedef void* I_RPC_HANDLE;
#define RpcExceptionCode() 0
#define RpcExceptionCode() 0
/* #define RpcAbnormalTermination() abort() */
/* #define RpcAbnormalTermination() abort() */
#endif
/* USE_COMPILER_EXCEPTIONS */
#endif
/*__WINE_RPC_H */
#endif
/*__WINE_RPC_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