Skip to content

Commit d16b0e5

Browse files
committed
fix mac builds
1 parent d22bdfc commit d16b0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl RandomXDataset {
260260
// This weirdness brought to you by c_ulong being different on Windows and Linux
261261
#[cfg(target_os = "windows")]
262262
return Ok(x);
263-
#[cfg(target_os = "linux")]
263+
#[cfg(not(target_os = "windows"))]
264264
return Ok(u32::try_from(x)?);
265265
},
266266
}

0 commit comments

Comments
 (0)