diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-10-15 09:41:18 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-10-15 09:41:18 +0000 |
commit | 271a33443c6e9ce77eb1a06d8726c692da85ab16 (patch) | |
tree | 5d767490465fc8669042b16e899ffb1aca6163e2 /winsup/cygwin/wincap.h | |
parent | 48372ea6f139576feaccd942d7674d06abd3c396 (diff) | |
download | newlib-271a33443c6e9ce77eb1a06d8726c692da85ab16.zip newlib-271a33443c6e9ce77eb1a06d8726c692da85ab16.tar.gz newlib-271a33443c6e9ce77eb1a06d8726c692da85ab16.tar.bz2 |
* uname.cc (uname): Use `wProcessorLevel' unless OS sets it wrong.
Use `dwProcessorType' then instead.
* wincap.cc: Set flag has_valid_processorlevel appropriately.
* wincap.h: Add flag has_valid_processorlevel.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index 0389476..2bb3914 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -44,6 +44,7 @@ struct wincaps unsigned has_negative_pids : 1; unsigned has_unreliable_pipes : 1; unsigned has_try_enter_critical_section : 1; + unsigned has_valid_processorlevel : 1; }; class wincapc @@ -92,6 +93,7 @@ public: bool IMPLEMENT (has_negative_pids) bool IMPLEMENT (has_unreliable_pipes) bool IMPLEMENT (has_try_enter_critical_section) + bool IMPLEMENT (has_valid_processorlevel) #undef IMPLEMENT }; |