Skip to content
Snippets Groups Projects
Commit 697c98cd authored by Guy Zana's avatar Guy Zana
Browse files

added readdir64_r() as an alias to readdir_r()

needed by the javascript console for ls support
parent 46ead314
No related branches found
No related tags found
No related merge requests found
......@@ -61,3 +61,8 @@ int readdir_r(DIR *dir, struct dirent *entry, struct dirent **result)
*result = NULL;
return 0;
}
// FIXME: in 64bit dirent64 and dirent are identical, so it's safe to alias
extern "C" int readdir64_r(DIR *dir, struct dirent64 *entry,
struct dirent64 **result)
__attribute__((alias("readdir_r")));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment