mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
Move variable declarations out of #if guard, NFC
They are used in other sides of the #if/#else.
This commit is contained in:
parent
7854a1abfd
commit
6b9a79f9a2
@ -131,13 +131,14 @@ void __kmp_affinity_determine_capable(const char *env_var) {
|
||||
#define KMP_CPU_SET_SIZE_LIMIT (sizeof(cpuset_t))
|
||||
#endif
|
||||
|
||||
int verbose = __kmp_affinity.flags.verbose;
|
||||
int warnings = __kmp_affinity.flags.warnings;
|
||||
enum affinity_type type = __kmp_affinity.type;
|
||||
|
||||
#if KMP_OS_LINUX
|
||||
long gCode;
|
||||
unsigned char *buf;
|
||||
buf = (unsigned char *)KMP_INTERNAL_MALLOC(KMP_CPU_SET_SIZE_LIMIT);
|
||||
int verbose = __kmp_affinity.flags.verbose;
|
||||
int warnings = __kmp_affinity.flags.warnings;
|
||||
enum affinity_type type = __kmp_affinity.type;
|
||||
|
||||
// If the syscall returns a suggestion for the size,
|
||||
// then we don't have to search for an appropriate size.
|
||||
|
Loading…
Reference in New Issue
Block a user