delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/08/16/03:59:08

From: TYann AT vet DOT com DOT au (Trevor Yann)
Subject: Reporting processor type correctly for win98
16 Aug 1998 03:59:08 -0700 :
Message-ID: <3.0.5.32.19980816194423.007d1d00.cygnus.cygwin32.developers@mail.mel.cybec.com.au>
Mime-Version: 1.0
To: cygwin32-developers AT cygnus DOT com

It seems that processor type is reported the same under both windows 95 and
windows 98. This fix allows the processor type to be reported correctly
under Windows 98.

uname.cc	(uname): report processor type for win98

diff -ur winsup.original/uname.cc winsup/uname.cc
--- winsup.original/uname.cc	Wed Jun 10 00:55:02 1998
+++ winsup/uname.cc	Sun Aug 16 19:39:32 1998
@@ -67,6 +67,7 @@
         switch (os_being_run)
           {
             case win95:
+            case win98:
               /* dwProcessorType only valid in Windows 95 */
               if ((sysinfo.dwProcessorType == PROCESSOR_INTEL_386) ||
                   (sysinfo.dwProcessorType == PROCESSOR_INTEL_486) ||

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019