mirror of https://github.com/ArduPilot/ardupilot
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 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue