chromium/third_party/cpuinfo/src/src/cpuinfo/common.h

/*
 * Copyright (c) Facebook, Inc. and its affiliates.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree.
 */

#pragma once

#define CPUINFO_COUNT_OF(array)

#if defined(__GNUC__)
#define CPUINFO_LIKELY(condition)
#define CPUINFO_UNLIKELY(condition)
#else
#define CPUINFO_LIKELY
#define CPUINFO_UNLIKELY
#endif

#ifndef CPUINFO_INTERNAL
#if defined(__ELF__)
#define CPUINFO_INTERNAL
#elif defined(__MACH__)
#define CPUINFO_INTERNAL
#else
#define CPUINFO_INTERNAL
#endif
#endif

#ifndef CPUINFO_PRIVATE
#if defined(__ELF__)
#define CPUINFO_PRIVATE
#elif defined(__MACH__)
#define CPUINFO_PRIVATE
#else
#define CPUINFO_PRIVATE
#endif
#endif