[libcxx-commits] [PATCH] D111226: [SystemZ][z/OS][libcxx]:Fix fopen64 undeclared error in 32 bit mode
Fanbo Meng via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 6 05:58:03 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG43c5e61b555c: [SystemZ][z/OS][libcxx]:Fix fopen64 undeclared error in 32 bit mode (authored by fanbo-meng).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111226/new/
https://reviews.llvm.org/D111226
Files:
libcxx/test/support/filesystem_test_helper.h
Index: libcxx/test/support/filesystem_test_helper.h
===================================================================
--- libcxx/test/support/filesystem_test_helper.h
+++ libcxx/test/support/filesystem_test_helper.h
@@ -180,7 +180,7 @@
// 2GB.
std::string create_file(fs::path filename_path, uintmax_t size = 0) {
std::string filename = filename_path.string();
-#if defined(__LP64__) || defined(_WIN32)
+#if defined(__LP64__) || defined(_WIN32) || defined(__MVS__)
auto large_file_fopen = fopen;
auto large_file_ftruncate = utils::ftruncate;
using large_file_offset_t = off_t;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111226.397864.patch
Type: text/x-patch
Size: 625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220106/b57868ca/attachment.bin>
More information about the libcxx-commits
mailing list