1
0
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:
Matias Fontanini
2016-03-28 20:31:48 -07:00
parent 928e66eb27
commit 688bb7094e
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ class Configuration {
public:
enum Platform {
WINDOWS = 1,
BSD = 2,
BSD_OS = 2,
LINUX = 4
};

View File

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