Skip to content

Commit 82c0f68

Browse files
[libc] Remove assert to fix rv32 buildbot
1 parent 54246a3 commit 82c0f68

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libc/src/unistd/linux/dup2.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ LLVM_LIBC_FUNCTION(int, dup2, (int oldfd, int newfd)) {
3232
int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_fcntl, oldfd, F_GETFD);
3333
#elif defined(SYS_fcntl64)
3434
// Same as fcntl but can handle large offsets
35-
static_assert(sizeof(off_t) == 8);
3635
int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_fcntl64, oldfd, F_GETFD);
3736
#else
3837
#error "SYS_fcntl and SYS_fcntl64 syscalls not available."

0 commit comments

Comments
 (0)