mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Rename BSD enum value so it doesn't conflict with macro
This commit is contained in:
@@ -38,7 +38,7 @@ class Configuration {
|
||||
public:
|
||||
enum Platform {
|
||||
WINDOWS = 1,
|
||||
BSD = 2,
|
||||
BSD_OS = 2,
|
||||
LINUX = 4
|
||||
};
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Configuration::Configuration() {
|
||||
#ifdef _WIN32
|
||||
current_platform_ = WINDOWS;
|
||||
#elif defined(BSD) || defined(__FreeBSD_kernel__)
|
||||
current_platform_ = BSD;
|
||||
current_platform_ = BSD_OS;
|
||||
#else
|
||||
current_platform_ = LINUX;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user