dp_platform.cxx (6d1ed1dd) | dp_platform.cxx (69910d95) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 157 unchanged lines hidden (view full) --- 166 ret = checkOSandCPU(OUSTR("Solaris"), OUSTR("x86")); 167 else if (token.equals(OUSTR(PLATFORM_FREEBSD_X86))) 168 ret = checkOSandCPU(OUSTR("FreeBSD"), OUSTR("x86")); 169 else if (token.equals(OUSTR(PLATFORM_FREEBSD_X86_64))) 170 ret = checkOSandCPU(OUSTR("FreeBSD"), OUSTR("X86_64")); 171 else if (token.equals(OUSTR(PLATFORM_MACOSX_X86))) 172 ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("x86")); 173 else if (token.equals(OUSTR(PLATFORM_MACOSX_X86_64))) | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 157 unchanged lines hidden (view full) --- 166 ret = checkOSandCPU(OUSTR("Solaris"), OUSTR("x86")); 167 else if (token.equals(OUSTR(PLATFORM_FREEBSD_X86))) 168 ret = checkOSandCPU(OUSTR("FreeBSD"), OUSTR("x86")); 169 else if (token.equals(OUSTR(PLATFORM_FREEBSD_X86_64))) 170 ret = checkOSandCPU(OUSTR("FreeBSD"), OUSTR("X86_64")); 171 else if (token.equals(OUSTR(PLATFORM_MACOSX_X86))) 172 ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("x86")); 173 else if (token.equals(OUSTR(PLATFORM_MACOSX_X86_64))) |
174 ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("x86_64")); | 174 ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("X86_64")); |
175 else if (token.equals(OUSTR(PLATFORM_MACOSX_PPC))) 176 ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("PowerPC")); 177 else if (token.equals(OUSTR(PLATFORM_OS2_X86))) 178 ret = checkOSandCPU(OUSTR("OS2"), OUSTR("x86")); 179 else 180 { 181 OSL_ENSURE(0, "Extension Manager: The extension supports an unknown platform. " 182 "Check the platform element in the descripion.xml"); --- 49 unchanged lines hidden --- | 175 else if (token.equals(OUSTR(PLATFORM_MACOSX_PPC))) 176 ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("PowerPC")); 177 else if (token.equals(OUSTR(PLATFORM_OS2_X86))) 178 ret = checkOSandCPU(OUSTR("OS2"), OUSTR("x86")); 179 else 180 { 181 OSL_ENSURE(0, "Extension Manager: The extension supports an unknown platform. " 182 "Check the platform element in the descripion.xml"); --- 49 unchanged lines hidden --- |