[Libreoffice-commits] .: desktop/source

Tor Lillqvist tml at kemper.freedesktop.org
Thu Feb 10 15:11:56 PST 2011


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

New commits:
commit 0fe6230451195a5828980748055ff3bc56b39287
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Thu Feb 10 10:33:02 2011 +0200

    Add x64 Windows here, too

diff --git a/desktop/source/deployment/misc/dp_platform.cxx b/desktop/source/deployment/misc/dp_platform.cxx
index 751a1a1..b86e650 100644
--- a/desktop/source/deployment/misc/dp_platform.cxx
+++ b/desktop/source/deployment/misc/dp_platform.cxx
@@ -38,6 +38,7 @@
 
 #define PLATFORM_ALL                "all"
 #define PLATFORM_WIN_X86            "windows_x86"
+#define PLATFORM_WIN_X86_64         "windows_x86_64"
 #define PLATFORM_LINUX_X86          "linux_x86"
 #define PLATFORM_LINUX_X86_64       "linux_x86_64"
 #define PLATFORM_KFREEBSD_X86       "kfreebsd_x86"
@@ -133,6 +134,8 @@ namespace
             ret = true;
         else if (token.equals(OUSTR(PLATFORM_WIN_X86)))
             ret = checkOSandCPU(OUSTR("Windows"), OUSTR("x86"));
+        else if (token.equals(OUSTR(PLATFORM_WIN_X86_64)))
+            ret = checkOSandCPU(OUSTR("Windows"), OUSTR("x86_64"));
         else if (token.equals(OUSTR(PLATFORM_LINUX_X86)))
             ret = checkOSandCPU(OUSTR("Linux"), OUSTR("x86"));
         else if (token.equals(OUSTR(PLATFORM_LINUX_X86_64)))


More information about the Libreoffice-commits mailing list