1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-25 10:15:50 +00:00

Added detection of Microsoft WSL/WSL2 Linux flavors.

Added tracing of the platform detection.
This commit is contained in:
Vojtech Bubnik
2021-03-11 16:15:22 +01:00
parent 2c76c42baa
commit 33b63b35a2
2 changed files with 25 additions and 2 deletions
+4
View File
@@ -23,6 +23,10 @@ enum class PlatformFlavor
// For Platform::Linux
GenericLinux,
LinuxOnChromium,
// Microsoft's Windows on Linux (Linux kernel simulated on NTFS kernel)
WSL,
// Microsoft's Windows on Linux, version 2 (virtual machine)
WSL2,
// For Platform::BSDUnix
OpenBSD,
};