From: Colin Finck Date: Sat, 25 Oct 2008 14:49:51 +0000 (+0000) Subject: Fix build broken in r36927 X-Git-Tag: ReactOS-0.3.7~73 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=ce96d49c3669d0889df446afa241a22947c5c64a Fix build broken in r36927 The #ifdef's here are defined by the host, not by the target. Therefore we can't check with #if defined(__x86_64__) whether we build for 64-bit. Probably a _TARGET_PE64 solution like we have for rsym is needed here to fix this properly also for the AMD64 port. svn path=/trunk/; revision=36944 --- diff --git a/reactos/tools/winebuild/main.c b/reactos/tools/winebuild/main.c index b0a57efaf7e..6614680f5a8 100644 --- a/reactos/tools/winebuild/main.c +++ b/reactos/tools/winebuild/main.c @@ -48,7 +48,7 @@ int verbose = 0; int save_temps = 0; int link_ext_symbols = 0; -#if defined(__i386__) +#if defined(__i386__) || defined(__x86_64__) enum target_cpu target_cpu = CPU_x86; #elif defined(__x86_64__) enum target_cpu target_cpu = CPU_x86_64;