mirror of https://github.com/BOINC/boinc.git
parent
4d21b4960a
commit
1141c18265
|
@ -996,6 +996,9 @@ int get_processor_features(char* vendor, char* features, int features_size) {
|
|||
// Returns the CPU count
|
||||
//
|
||||
typedef DWORD (WINAPI *GAPC)(WORD);
|
||||
#ifndef ALL_PROCESSOR_GROUPS
|
||||
#define ALL_PROCESSOR_GROUPS 0xffff
|
||||
#endif
|
||||
int get_processor_count(int& processor_count) {
|
||||
GAPC gapc = (GAPC) GetProcAddress(
|
||||
GetModuleHandle(_T("kernel32.dll")),
|
||||
|
|
Loading…
Reference in New Issue