Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / ios / chrome / browser / arch_util.cc
blobeb0111b8278c7f5ac228edff06b9012b1602a6f6
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ios/chrome/browser/arch_util.h"
7 namespace arch_util {
9 // const char[] can be initialized only with literal.
10 #define _ARM_ARCH "arm"
11 #define _ARM_64_ARCH "arm64"
13 const char kARMArch[] = _ARM_ARCH;
15 const char kARM64Arch[] = _ARM_64_ARCH;
17 #if defined(__LP64__)
18 const char kCurrentArch[] = _ARM_64_ARCH;
19 #else
20 const char kCurrentArch[] = _ARM_ARCH;
21 #endif
23 } // namespace arch_util