mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 02:35:53 +08:00
Linux/OSX don't like an "BSD" symbol?
This commit is contained in:
parent
8b4b6afd7b
commit
2c76c42baa
@ -35,7 +35,7 @@ void detect_platform()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__)
|
||||||
s_platform = Platform::BSD;
|
s_platform = Platform::BSDUnix;
|
||||||
s_platform_flavor = PlatformFlavor::OpenBSD;
|
s_platform_flavor = PlatformFlavor::OpenBSD;
|
||||||
#else
|
#else
|
||||||
// This should not happen.
|
// This should not happen.
|
||||||
|
@ -11,7 +11,7 @@ enum class Platform
|
|||||||
Windows,
|
Windows,
|
||||||
OSX,
|
OSX,
|
||||||
Linux,
|
Linux,
|
||||||
BSD,
|
BSDUnix,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class PlatformFlavor
|
enum class PlatformFlavor
|
||||||
@ -23,7 +23,7 @@ enum class PlatformFlavor
|
|||||||
// For Platform::Linux
|
// For Platform::Linux
|
||||||
GenericLinux,
|
GenericLinux,
|
||||||
LinuxOnChromium,
|
LinuxOnChromium,
|
||||||
// For Platform::BSD
|
// For Platform::BSDUnix
|
||||||
OpenBSD,
|
OpenBSD,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user