From: Vadim Konovalov Date: Mon, 11 Sep 2000 11:22:33 +0000 (+0400) Subject: Modern Borland C now seems to have anon unions for info.wProcessorArchitecture X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=177a48aa5ce07de6b25a612090ebf912f817adcc;p=p5sagit%2Fp5-mst-13.2.git Modern Borland C now seems to have anon unions for info.wProcessorArchitecture Subject: borland C++ win32.c tweak Message-ID: <402099F49BEED211999700805FC7359F6FB379@ru0028exch01.spb.lucent.com> p4raw-id: //depot/perl@7050 --- diff --git a/win32/win32.c b/win32/win32.c index 9fc83c1..9cc714f 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1633,7 +1633,7 @@ win32_uname(struct utsname *name) char *arch; GetSystemInfo(&info); -#if defined(__BORLANDC__) || defined(__MINGW32__) +#if (defined(__BORLANDC__)&&(__BORLANDC__<=0x520)) || defined(__MINGW32__) switch (info.u.s.wProcessorArchitecture) { #else switch (info.wProcessorArchitecture) {