Skip to content

Commit 1c89e5a

Browse files
author
龙虾机器人
committed
Fix C89 compatibility issues in menu_vfs_browser.c
Move all variable declarations to function start for C89 compliance: - const char *name - bool is_dir - uint64_t size - char full_path[PATH_MAX_LENGTH] - size_t new_capacity - char **new_names - bool *new_is_dir - uint64_t *new_sizes All variables are now declared at the beginning of vfs_browser_read_dir() function instead of inside while loop or if blocks. Fixes PR libretro#18827 CI build failures on linux-c89, MSYS2, and MSVC.
1 parent 6d0caa2 commit 1c89e5a

2 files changed

Lines changed: 519 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)