diff options
| author | Yuxuan Chen <i@yuxuan.ch> | 2025-10-24 12:48:21 -0700 |
|---|---|---|
| committer | Yuxuan Chen <i@yuxuan.ch> | 2025-10-24 12:48:21 -0700 |
| commit | 1eb339d9ef84bccc02126362b1de067c5b793c07 (patch) | |
| tree | e59f6781f988125fe908ba7dc401ac3e785ae9da | |
| parent | 251edd122808f1849adb8000119ba9134793a294 (diff) | |
[compiler-rt] fix gcc <13 support by removing enum-type-specifierusers/yuxuanchen1997/compiler-rt-gcc-fix
| -rw-r--r-- | compiler-rt/lib/builtins/cpu_model/x86.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/builtins/cpu_model/x86.c b/compiler-rt/lib/builtins/cpu_model/x86.c index d9ff116cdc29..06c0c2c899ea 100644 --- a/compiler-rt/lib/builtins/cpu_model/x86.c +++ b/compiler-rt/lib/builtins/cpu_model/x86.c @@ -36,14 +36,14 @@ enum VendorSignatures { SIG_AMD = 0x68747541, // Auth }; -enum ProcessorVendors : unsigned int { +enum ProcessorVendors { VENDOR_INTEL = 1, VENDOR_AMD, VENDOR_OTHER, VENDOR_MAX }; -enum ProcessorTypes : unsigned int { +enum ProcessorTypes { INTEL_BONNELL = 1, INTEL_CORE2, INTEL_COREI7, |
