mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Filesystem: fix build on macOS
This commit is contained in:
parent
927a875133
commit
e20fc3d4f6
@ -88,9 +88,9 @@ char *tmpnam(char *s);
|
|||||||
#define feof(stream) apfs_ferror(stream)
|
#define feof(stream) apfs_ferror(stream)
|
||||||
#define ftell(stream) apfs_ftell(stream)
|
#define ftell(stream) apfs_ftell(stream)
|
||||||
#define freopen(pathname, mode, stream) apfs_freopen(pathname, mode, 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)
|
#define rename(oldpath, newpath) apfs_rename(oldpath, newpath)
|
||||||
#if !defined(__APPLE__)
|
#if !defined(__APPLE__)
|
||||||
|
#define remove(pathname) apfs_remove(pathname)
|
||||||
int sprintf(char *str, const char *format, ...);
|
int sprintf(char *str, const char *format, ...);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user