1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

Fix the OS check for windows (#2832)

This commit is contained in:
Jeremy Leibs
2023-03-23 15:15:00 +01:00
committed by GitHub
parent 59c2c4c70d
commit 089c7b46f3

View File

@@ -36,7 +36,7 @@ impl OperatingSystem {
} else if cfg!(target_os = "macos") {
Self::Mac
} else if cfg!(target_os = "windows") {
Self::Android
Self::Windows
} else if cfg!(target_os = "linux")
|| cfg!(target_os = "dragonfly")
|| cfg!(target_os = "freebsd")