Skip to content

Commit

Permalink
[libc] reverts for 32b arm (#78307)
Browse files Browse the repository at this point in the history
These were fixed properly by f1f1875.

- Revert "[libc] temporarily set -Wno-shorten-64-to-32 (#77396)"
- Revert "[libc] make off_t 32b for 32b arm (#77350)"
  • Loading branch information
nickdesaulniers committed Jan 18, 2024
1 parent f4ede08 commit de03c46
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions libc/include/llvm-libc-types/off_t.h
Expand Up @@ -9,10 +9,6 @@
#ifndef __LLVM_LIBC_TYPES_OFF_T_H__
#define __LLVM_LIBC_TYPES_OFF_T_H__

#if defined(__LP64__) || defined(__riscv)
typedef __INT64_TYPE__ off_t;
#else
typedef __INT32_TYPE__ off_t;
#endif // __LP64__ || __riscv

#endif // __LLVM_LIBC_TYPES_OFF_T_H__
3 changes: 0 additions & 3 deletions libc/src/sys/mman/linux/CMakeLists.txt
Expand Up @@ -22,9 +22,6 @@ add_entrypoint_object(
libc.include.sys_syscall
libc.src.__support.OSUtil.osutil
libc.src.errno.errno
COMPILE_OPTIONS
# TODO: https://github.com/llvm/llvm-project/issues/77395
-Wno-shorten-64-to-32
)

add_entrypoint_object(
Expand Down

0 comments on commit de03c46

Please sign in to comment.