Linux/OSX don't like an "BSD" symbol?

This commit is contained in:
Vojtech Bubnik 2021-03-11 15:21:58 +01:00
parent 8b4b6afd7b
commit 2c76c42baa
2 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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,
}; };