Skip to content

Commit

Permalink
Fix the readdir_r wrapping for Evergreen SB16 (#4010)
Browse files Browse the repository at this point in the history
b/358518924

Change-Id: I7387756a3769d60595a86c29a7b6aa2afdd9385f
  • Loading branch information
y4vor authored Aug 16, 2024
1 parent b9ae574 commit 2eda1f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion starboard/elf_loader/exported_symbols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#include "starboard/mutex.h"
#include "starboard/player.h"
#if SB_API_VERSION >= 16
#include "starboard/shared/modular/starboard_layer_posix_directory_abi_wrappers.h"
#include "starboard/shared/modular/starboard_layer_posix_errno_abi_wrappers.h"
#include "starboard/shared/modular/starboard_layer_posix_mmap_abi_wrappers.h"
#include "starboard/shared/modular/starboard_layer_posix_pthread_abi_wrappers.h"
Expand Down Expand Up @@ -480,7 +481,6 @@ ExportedSymbols::ExportedSymbols() {
REGISTER_SYMBOL(opendir);
REGISTER_SYMBOL(posix_memalign);
REGISTER_SYMBOL(read);
REGISTER_SYMBOL(readdir_r);
REGISTER_SYMBOL(realloc);
REGISTER_SYMBOL(recv);
REGISTER_SYMBOL(send);
Expand Down Expand Up @@ -587,6 +587,7 @@ ExportedSymbols::ExportedSymbols() {
map_["pthread_setname_np"] =
reinterpret_cast<const void*>(&__abi_wrap_pthread_setname_np);
map_["read"] = reinterpret_cast<const void*>(&__abi_wrap_read);
map_["readdir_r"] = reinterpret_cast<const void*>(&__abi_wrap_readdir_r);
map_["stat"] = reinterpret_cast<const void*>(&__abi_wrap_stat);
map_["time"] = reinterpret_cast<const void*>(&__abi_wrap_time);
map_["accept"] = reinterpret_cast<const void*>(&__abi_wrap_accept);
Expand Down

0 comments on commit 2eda1f1

Please sign in to comment.