Gerald Pfeifer : winedbg: Use #elif defined(...) instead of plain #elif when detecting architectures in dbg_start_interactive ().
Alexandre Julliard
julliard at winehq.org
Wed Dec 23 10:04:13 CST 2009
Module: wine
Branch: master
Commit: 0885d345b6406f0af347cd484163f8b5d931dc12
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0885d345b6406f0af347cd484163f8b5d931dc12
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Wed Dec 23 00:36:44 2009 +0100
winedbg: Use #elif defined(...) instead of plain #elif when detecting architectures in dbg_start_interactive().
---
programs/winedbg/winedbg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/winedbg/winedbg.c b/programs/winedbg/winedbg.c
index 4aa0a3e..e2bc83a 100644
--- a/programs/winedbg/winedbg.c
+++ b/programs/winedbg/winedbg.c
@@ -610,11 +610,11 @@ void dbg_start_interactive(HANDLE hFile)
struct backend_cpu* be_cpu;
#ifdef __i386__
extern struct backend_cpu be_i386;
-#elif __powerpc__
+#elif defined(__powerpc__)
extern struct backend_cpu be_ppc;
-#elif __ALPHA__
+#elif defined(__ALPHA__)
extern struct backend_cpu be_alpha;
-#elif __x86_64__
+#elif defined(__x86_64__)
extern struct backend_cpu be_x86_64;
#else
# error CPU unknown
More information about the wine-cvs
mailing list