summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorVadim Konovalov <vkonovalov@lucent.com>2000-09-11 15:22:33 +0400
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-09-11 10:03:51 +0000
commit177a48aa5ce07de6b25a612090ebf912f817adcc (patch)
tree684b743cdd4a094e36bf01afe4107aaa1d8789d2 /win32
parenteca06228e735e9cbc213af2862732d91a7609dec (diff)
downloadperl-177a48aa5ce07de6b25a612090ebf912f817adcc.tar.gz
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
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 9fc83c1c71..9cc714f13f 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) {