Skip to content

Commit f803006

Browse files
committed
Use proper symbol name checking for arm64
The proper symbol for checking for 64-bit ARM is __aarch64__
1 parent e315b06 commit f803006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/timeStamp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
static uint64_t rdtsc()
2828
{
29-
#if defined(__arm64__) || defined(__arm__)
29+
#if defined(__aarch64__) || defined(__arm__)
3030
// SPDX-License-Identifier: GPL-2.0
3131
uint64_t val = 0;
3232

0 commit comments

Comments
 (0)