From b2d0c103d60d898109d6bcbc846031044f91f203 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Thu, 11 Mar 2021 15:21:58 +0100 Subject: [PATCH] Linux/OSX don't like an "BSD" symbol? --- src/slic3r/Utils/Platform.cpp | 2 +- src/slic3r/Utils/Platform.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/Utils/Platform.cpp b/src/slic3r/Utils/Platform.cpp index cf9131ef531..86f4d79652f 100644 --- a/src/slic3r/Utils/Platform.cpp +++ b/src/slic3r/Utils/Platform.cpp @@ -35,7 +35,7 @@ void detect_platform() } } #elif defined(__OpenBSD__) - s_platform = Platform::BSD; + s_platform = Platform::BSDUnix; s_platform_flavor = PlatformFlavor::OpenBSD; #else // This should not happen. diff --git a/src/slic3r/Utils/Platform.hpp b/src/slic3r/Utils/Platform.hpp index e11bde41248..8298cf3f9b9 100644 --- a/src/slic3r/Utils/Platform.hpp +++ b/src/slic3r/Utils/Platform.hpp @@ -11,7 +11,7 @@ enum class Platform Windows, OSX, Linux, - BSD, + BSDUnix, }; enum class PlatformFlavor @@ -23,7 +23,7 @@ enum class PlatformFlavor // For Platform::Linux GenericLinux, LinuxOnChromium, - // For Platform::BSD + // For Platform::BSDUnix OpenBSD, };