[libcxx-commits] [libcxx] [libcxx] Use _ftelli64/_fseeki64 on Windows (PR #123128)

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 28 21:48:06 PST 2025


================
@@ -362,6 +362,9 @@ private:
   bool __read_mode();
   void __write_mode();
 
+  _LIBCPP_HIDE_FROM_ABI static int __fseek(FILE* __file, pos_type __offset, int __whence);
+  _LIBCPP_HIDE_FROM_ABI static pos_type __ftell(FILE* __file);
----------------
mstorsjo wrote:

I kept the functions in the class, as they use `pos_type`, but I updated the PR to remove the unnecessary intermediate define `_LIBCPP_HAS_OFF_T_FUNCTIONS`.

https://github.com/llvm/llvm-project/pull/123128


More information about the libcxx-commits mailing list