AP_Filesystem: fix build on macOS

This commit is contained in:
Andy Piper 2021-04-20 15:53:00 +01:00 committed by Peter Barker
parent 927a875133
commit e20fc3d4f6
1 changed files with 1 additions and 1 deletions

View File

@ -88,9 +88,9 @@ char *tmpnam(char *s);
#define feof(stream) apfs_ferror(stream)
#define ftell(stream) apfs_ftell(stream)
#define freopen(pathname, mode, stream) apfs_freopen(pathname, mode, stream)
#define remove(pathname) apfs_remove(pathname)
#define rename(oldpath, newpath) apfs_rename(oldpath, newpath)
#if !defined(__APPLE__)
#define remove(pathname) apfs_remove(pathname)
int sprintf(char *str, const char *format, ...);
#endif