add comment
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
060dfedb74
commit
7f29c7a601
@ -637,6 +637,7 @@ extern "C"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
// https://learn.microsoft.com/en-us/windows/win32/sysinfo/targeting-your-application-at-windows-8-1
|
||||
// https://github.com/nodejs/node-convergence-archive/blob/e11fe0c2777561827cdb7207d46b0917ef3c42a7/deps/uv/src/win/util.c#L780
|
||||
BOOL IsWindowsVersionOrGreater(DWORD os_major,
|
||||
DWORD os_minor,
|
||||
|
@ -7,11 +7,3 @@ pub(super) fn is_supported() -> bool {
|
||||
// https://en.wikipedia.org/wiki/Windows_10_version_history
|
||||
crate::platform::windows::is_windows_version_or_greater(10, 0, 19041, 0, 0)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn test_is_support() {
|
||||
println!("is exclude from capture supported: {}", super::is_supported());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user