[Libreoffice-commits] .: desktop/source

Robert Nagy rnagy at kemper.freedesktop.org
Sat Nov 6 11:47:48 PDT 2010


 desktop/source/deployment/misc/dp_platform.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 39aaa654b5423de2d1282c4439c43d3a8d8aa78e
Author: Robert Nagy <robert at openbsd.org>
Date:   Sat Nov 6 18:25:37 2010 +0100

    add platform definitions for openbsd

diff --git a/desktop/source/deployment/misc/dp_platform.cxx b/desktop/source/deployment/misc/dp_platform.cxx
index bee6d9a..0e67097 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. "


More information about the Libreoffice-commits mailing list