aboutsummaryrefslogtreecommitdiff
path: root/src/common/arch.h
blob: 5c70b8dcacddd38f76cceb666a074ee64dccce9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2023 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <boost/predef.h>

#define CITRA_ARCH(NAME) (CITRA_ARCH_##NAME)

#define CITRA_ARCH_x86_64 BOOST_ARCH_X86_64
#define CITRA_ARCH_arm64                                                                           \
    (BOOST_ARCH_ARM >= BOOST_VERSION_NUMBER(8, 0, 0) && BOOST_ARCH_WORD_BITS == 64)