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>2001-10-15 13:41:18 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-10-15 13:41:18 +0400
commit271a33443c6e9ce77eb1a06d8726c692da85ab16 (patch)
tree5d767490465fc8669042b16e899ffb1aca6163e2 /winsup/cygwin/wincap.h
parent48372ea6f139576feaccd942d7674d06abd3c396 (diff)
* 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h
index 038947636..2bb391454 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
};