summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/AppleSilicon/default.c
blob: 7b0535b6aa4634952a1a62e04ec3820ab1c3b35f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#if defined(HOST_ARM64)
#  if !defined(__aarch64__)
#    error "Not compiling as host arm64"
#  endif
#elif defined(HOST_X86_64)
#  if !defined(__x86_64__)
#    error "Not compiling as host x86_64"
#  endif
#else
#  error "One of HOST_ARM64 or HOST_X86_64 must be defined."
#endif
void default_arch(void)
{
}