aboutsummaryrefslogtreecommitdiff
path: root/src/Conf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Conf.cpp')
-rw-r--r--src/Conf.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Conf.cpp b/src/Conf.cpp
index 6645913..2fdef25 100644
--- a/src/Conf.cpp
+++ b/src/Conf.cpp
@@ -811,11 +811,19 @@ namespace sibs
{
platforms.push_back(PLATFORM_MACOS64);
}
+ else if (platform.equals("openbsd32"))
+ {
+ platforms.push_back(PLATFORM_OPENBSD32);
+ }
+ else if (platform.equals("openbsd64"))
+ {
+ platforms.push_back(PLATFORM_OPENBSD64);
+ }
else
{
string errMsg = "package.platforms contains invalid platform \"";
errMsg += string(platform.data, platform.size);
- errMsg += "\". Expected platform to be one of: any, linux32, linux64, win32, win64, macos32 or macos64";
+ errMsg += "\". Expected platform to be one of: any, linux32, linux64, win32, win64, macos32, macos64, openbsd32 or openbsd64";
throw ParserException(errMsg);
}
}