[libc-commits] [PATCH] D159104: [libc] Fix setrlimit/getrlimit on 32-bit systems
Mikhail Ramalho via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Sep 5 15:11:11 PDT 2023
mikhail.ramalho updated this revision to Diff 555947.
mikhail.ramalho added a comment.
- removed rlim64_t and rlimit64
- define rlim_t as __UINT64_TYPE__
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159104/new/
https://reviews.llvm.org/D159104
Files:
libc/include/llvm-libc-types/rlim_t.h
Index: libc/include/llvm-libc-types/rlim_t.h
===================================================================
--- libc/include/llvm-libc-types/rlim_t.h
+++ libc/include/llvm-libc-types/rlim_t.h
@@ -9,6 +9,6 @@
#ifndef __LLVM_LIBC_TYPES_RLIM_T_H__
#define __LLVM_LIBC_TYPES_RLIM_T_H__
-typedef unsigned long rlim_t;
+typedef __UINT64_TYPE__ rlim_t;
#endif // __LLVM_LIBC_TYPES_RLIM_T_H__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159104.555947.patch
Type: text/x-patch
Size: 397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230905/e60dfb25/attachment.bin>
More information about the libc-commits
mailing list