diff --git a/plat/cpm/emu/fileio.c b/plat/cpm/emu/fileio.c index a193805eb..d3df45785 100644 --- a/plat/cpm/emu/fileio.c +++ b/plat/cpm/emu/fileio.c @@ -1,5 +1,4 @@ -#define _XOPEN_SOURCE 500 -#define _POSIX_C_SOURCE 200809 +#define _XOPEN_SOURCE 700 #include #include #include @@ -440,4 +439,4 @@ int file_rename(cpm_filename_t* src, cpm_filename_t* dest) int drivefd = get_drive_fd(src); return renameat(drivefd, srcunixfilename, drivefd, destunixfilename); -} \ No newline at end of file +}