Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-09-30 05:38:13 +0400
committerCorinna Vinschen <corinna@vinschen.de>2000-09-30 05:38:13 +0400
commit84ecbb38d6843d5a80f6e91d6b1851005af0b109 (patch)
treeb3aecb0f146fc5edcbd9c7e6a301127dc7d08adc /winsup/cygwin/dcrt0.cc
parentb504f11afa159312394233b78d18e8d2dca572ff (diff)
* winsup.h: Add `winME' to os_type symbols.
* dcrt0.cc (set_os_type): Identify Windows ME systems. * (host_dependent_constants::init): Care for winME. * uname.cc (uname): Ditto.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 4e8ff9cf9..12f1d29da 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -177,11 +177,16 @@ set_os_type ()
os_being_run = win95;
os = "95";
}
- else /* os_version_info.dwMinorVersion == 10 */
+ else if (os_version_info.dwMinorVersion < 90)
{
os_being_run = win98;
os = "98";
}
+ else /* os_version_info.dwMinorVersion == 90 */
+ {
+ os_being_run = winME;
+ os = "ME";
+ }
break;
default:
os_being_run = unknown;
@@ -213,6 +218,7 @@ host_dependent_constants::init ()
shared = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
break;
+ case winME:
case win98:
case win95:
case win32s: