Skip to content

Commit

Permalink
Revert "[libc] make off_t 32b for 32b arm (llvm#77350)"
Browse files Browse the repository at this point in the history
This reverts commit ce1305a.

The correct fix was
commit f1f1875 ("[libc][cmake] reset COMPILE_DEFINITIONS (llvm#77810)")

Link: llvm#77395
  • Loading branch information
nickdesaulniers committed Jan 16, 2024
1 parent 5c52128 commit 24bc6a0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libc/include/llvm-libc-types/off_t.h
Original file line number Diff line number Diff line change
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__

0 comments on commit 24bc6a0

Please sign in to comment.