UPD: comments for TDarwinAarch64Statfs

This commit is contained in:
rich2014 2025-12-10 23:16:13 +08:00
commit 693f887652
2 changed files with 4 additions and 6 deletions

View file

@ -20,7 +20,10 @@ uses
MacOSAll, CocoaAll, CocoaUtils,
uDarwinFileUtil, uLog;
// Workarounds for FPC RTL Bug
// TDarwinAarch64Statfs is the workaround for the bug of FPC.
// TDarwinAarch64Statfs and the related codes can be removed after FPC 3.3.1
// see also: https://gitlab.com/freepascal.org/fpc/source/-/issues/39873
// copied from ptypes.inc and modified fstypename only
{$if defined(cpuarm) or defined(cpuaarch64) or defined(iphonesim)}
{ structure used on iPhoneOS and available on Mac OS X 10.6 and later }

View file

@ -18,11 +18,6 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Notes:
1. TDarwinAarch64Statfs is the workaround for the bug of FPC.
TDarwinAarch64Statfs and the related codes can be removed after FPC 3.3.1
see also: https://gitlab.com/freepascal.org/fpc/source/-/issues/39873
}
unit uMyDarwin;