std.meta.IntType -> std.meta.Int
This commit is contained in:
@@ -1037,7 +1037,7 @@ pub const dl_phdr_info = extern struct {
|
||||
|
||||
pub const CPU_SETSIZE = 128;
|
||||
pub const cpu_set_t = [CPU_SETSIZE / @sizeOf(usize)]usize;
|
||||
pub const cpu_count_t = std.meta.IntType(false, std.math.log2(CPU_SETSIZE * 8));
|
||||
pub const cpu_count_t = std.meta.Int(false, std.math.log2(CPU_SETSIZE * 8));
|
||||
|
||||
pub fn CPU_COUNT(set: cpu_set_t) cpu_count_t {
|
||||
var sum: cpu_count_t = 0;
|
||||
|
||||
Reference in New Issue
Block a user