diff options
author | Jan Dubois <jand@activestate.com> | 1999-05-27 00:07:17 +0200 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-04 01:46:31 +0000 |
commit | 2d63fa086243e29dbf185b28986d9a77e353a33c (patch) | |
tree | ea17d1f86576efd2d187ad4ad7c6cef3cca4cdd9 /win32 | |
parent | 360e660cb5db9f75699c74ab35b1d102dc710528 (diff) | |
download | perl-2d63fa086243e29dbf185b28986d9a77e353a33c.tar.gz |
MINGW32 and EGCS 1.1.2 support
Message-ID: <374c53ac.10322322@smtp1.ibm.net>
p4raw-id: //depot/perl@3566
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 6 | ||||
-rw-r--r-- | win32/win32.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/win32/win32.c b/win32/win32.c index 2df9c7c880..eb486e3a48 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1439,15 +1439,11 @@ win32_uname(struct utsname *name) char *arch; GetSystemInfo(&info); -#ifdef __MINGW32__ - switch (info.DUMMYUNIONNAME.DUMMYSTRUCTNAME.wProcessorArchitecture) { -#else -#ifdef __BORLANDC__ +#if defined(__BORLANDC__) || defined(__MINGW32__) switch (info.u.s.wProcessorArchitecture) { #else switch (info.wProcessorArchitecture) { #endif -#endif case PROCESSOR_ARCHITECTURE_INTEL: arch = "x86"; break; case PROCESSOR_ARCHITECTURE_MIPS: diff --git a/win32/win32.h b/win32/win32.h index ee25b5afce..75e3c61cbb 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -23,7 +23,7 @@ #endif #ifdef __GNUC__ -// typedef long long __int64; +typedef long long __int64; # define Win32_Winsock /* GCC does not do __declspec() - render it a nop * and turn on options to avoid importing data |