Skip to content

Commit fc90587

Browse files
Yifan ZhuSchrodingerZhu
authored andcommitted
fix riscv
1 parent 045c3bc commit fc90587

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libc/src/__support/OSUtil/linux/vdso.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ enum class VDSOSym {
3636
#include "aarch64/vdso.h"
3737
#elif defined(LIBC_TARGET_ARCH_IS_ARM)
3838
#include "arm/vdso.h"
39-
#elif defined(LIBC_TARGET_ARCH_IS_RISCV)
39+
#elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
4040
#include "riscv/vdso.h"
4141
#else
4242
#error "unknown arch"

libc/src/stdlib/rand_util.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "src/__support/macros/attributes.h"
1414

1515
namespace LIBC_NAMESPACE {
16-
1716
#ifdef LIBC_TARGET_ARCH_IS_GPU
1817
// Implement thread local storage on the GPU using local memory. Each thread
1918
// gets its slot in the local memory array and is private to the group.

0 commit comments

Comments
 (0)