diff options
author | Robert Nagy <robert@openbsd.org> | 2010-11-06 18:25:37 +0100 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2010-11-06 18:25:37 +0100 |
commit | 649487d6951633909bb28950f2870f80a7759340 (patch) | |
tree | 3c64ebfde68f6f73d6460cb4a2b15209d1197923 /desktop | |
parent | 7e31ccaa560f43e436c0562fe0b31e7d41e9ce24 (diff) |
add platform definitions for openbsd
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/misc/dp_platform.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/deployment/misc/dp_platform.cxx b/desktop/source/deployment/misc/dp_platform.cxx index 7221db791b09..27ab39b60c44 100644 --- a/desktop/source/deployment/misc/dp_platform.cxx +++ b/desktop/source/deployment/misc/dp_platform.cxx @@ -68,6 +68,8 @@ #define PLATFORM_MACOSX_X86 "macosx_x86" #define PLATFORM_MACOSX_PPC "macosx_powerpc" #define PLATFORM_OS2_X86 "os2_x86" +#define PLATFORM_OPENBSD_X86 "openbsd_x86" +#define PLATFORM_OPENBSD_X86_64 "openbsd_x86_64" #define PLATFORM_AIX_POWERPC "aix_powerpc" @@ -187,6 +189,10 @@ namespace ret = checkOSandCPU(OUSTR("OS2"), OUSTR("x86")); else if (token.equals(OUSTR(PLATFORM_AIX_POWERPC))) ret = checkOSandCPU(OUSTR("AIX"), OUSTR("PowerPC")); + else if (token.equals(OUSTR(PLATFORM_OPENBSD_X86))) + ret = checkOSandCPU(OUSTR("OpenBSD"), OUSTR("x86")); + else if (token.equals(OUSTR(PLATFORM_OPENBSD_X86_64))) + ret = checkOSandCPU(OUSTR("OpenBSD"), OUSTR("X86_64")); else { OSL_ENSURE(0, "Extension Manager: The extension supports an unknown platform. " |