[rpc*] Remove compiler warnings for ^ #define foo bar$
Peter Berg Larsen
pebl at math.ku.dk
Fri Dec 17 10:42:12 CST 2004
Changelog:
Removes compiler warnings for the # not being at the start of the line.
diff -u -r wine-20041201-org/include/rpc.h wine-20041201/include/rpc.h
--- wine-20041201-org/include/rpc.h 2004-09-02 22:09:10.000000000 +0200
+++ wine-20041201/include/rpc.h 2004-12-10 15:28:00.000000000 +0100
@@ -26,13 +26,13 @@
#define __WINE_RPC_H
#if defined(__powerpc__) || defined(_MAC) /* ? */
- #define __RPC_MAC__
+# define __RPC_MAC__
/* Also define __RPC_WIN32__ to ensure compatibility */
- #define __RPC_WIN32__
+# define __RPC_WIN32__
#elif defined(_WIN64)
- #define __RPC_WIN64__
+# define __RPC_WIN64__
#else
- #define __RPC_WIN32__
+# define __RPC_WIN32__
#endif
#include <basetsd.h>
diff -u -r wine-20041201-org/include/rpcndr.h wine-20041201/include/rpcndr.h
--- wine-20041201-org/include/rpcndr.h 2004-09-08 03:27:24.000000000 +0200
+++ wine-20041201/include/rpcndr.h 2004-12-10 15:28:27.000000000 +0100
@@ -49,10 +49,10 @@
/* Mac's are special */
#if defined(__RPC_MAC__)
- #define __NDR_LOCAL_DATA_REPRESENTATION \
+# define __NDR_LOCAL_DATA_REPRESENTATION \
(__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_BIG_ENDIAN)
#else
- #define __NDR_LOCAL_DATA_REPRESENTATION \
+# define __NDR_LOCAL_DATA_REPRESENTATION \
(__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_LITTLE_ENDIAN)
#endif
@@ -61,11 +61,11 @@
/* for convenience, define NDR_LOCAL_IS_BIG_ENDIAN iff it is */
#if __NDR_LOCAL_ENDIAN == __NDR_BIG_ENDIAN
- #define NDR_LOCAL_IS_BIG_ENDIAN
+# define NDR_LOCAL_IS_BIG_ENDIAN
#elif __NDR_LOCAL_ENDIAN == __NDR_LITTLE_ENDIAN
- #undef NDR_LOCAL_IS_BIG_ENDIAN
+# undef NDR_LOCAL_IS_BIG_ENDIAN
#else
- #error alien NDR_LOCAL_ENDIAN - Greg botched the defines again, please report
+# error alien NDR_LOCAL_ENDIAN - Greg botched the defines again, please report
#endif
/* finally, do the casts like Microsoft */
More information about the wine-patches
mailing list