programs/winedbg/winedbg.c: #if -> #ifdef
Gerald Pfeifer
gerald at pfeifer.com
Fri Dec 25 17:31:11 CST 2009
This is the regression I mentioned in the other mail. I fixed other
instances with an earlier patch.
Gerald
ChangeLog:
Use #elif defined(...) instead of plain #elif in main().
diff --git a/programs/winedbg/winedbg.c b/programs/winedbg/winedbg.c
index e2bc83a..78bf722 100644
--- a/programs/winedbg/winedbg.c
+++ b/programs/winedbg/winedbg.c
@@ -628,11 +628,11 @@ int main(int argc, char** argv)
#ifdef __i386__
be_cpu = &be_i386;
-#elif __powerpc__
+#elif defined(__powerpc__)
be_cpu = &be_ppc;
-#elif __ALPHA__
+#elif defined(__ALPHA__)
be_cpu = &be_alpha;
-#elif __x86_64__
+#elif defined(__x86_64__)
be_cpu = &be_x86_64;
#else
# error CPU unknown
More information about the wine-patches
mailing list