Change __PPC__ define to __powerpc__.
[wine] / include / rpc.h
1 /*
2  *    RPC interface
3  *
4  * Copyright (C) the Wine project
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #if !defined(RPC_NO_WINDOWS_H) && !defined(__WINESRC__)
22 #include "windows.h"
23 #endif
24
25 #ifndef __WINE_RPC_H
26 #define __WINE_RPC_H
27
28 #if defined(__powerpc__) || defined(_MAC) /* ? */
29  #define __RPC_MAC__
30  /* Also define __RPC_WIN32__ to ensure compatibility */
31  #define __RPC_WIN32__
32 #elif defined(_WIN64)
33  #define __RPC_WIN64__
34 #else
35  #define __RPC_WIN32__
36 #endif
37
38 #define __RPC_FAR
39 #define __RPC_API  WINAPI
40 #define __RPC_USER WINAPI
41 #define __RPC_STUB WINAPI
42 #define RPC_ENTRY  WINAPI
43 #define RPCRTAPI
44 typedef long RPC_STATUS;
45
46 typedef void* I_RPC_HANDLE;
47
48 #include "rpcdce.h"
49 /* #include "rpcnsi.h" */
50 #include "rpcnterr.h"
51 #include "excpt.h"
52 #include "winerror.h"
53
54 /* ignore exception handling for now */
55 #define RpcTryExcept if (1) {
56 #define RpcExcept(expr) } else {
57 #define RpcEndExcept }
58 #define RpcTryFinally
59 #define RpcFinally
60 #define RpcEndFinally
61 #define RpcExceptionCode() 0
62 /* #define RpcAbnormalTermination() abort() */
63
64 #endif /*__WINE_RPC_H */