Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api/test/singleton/singleton_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ void do_something()

# ifdef _WIN32
HMODULE component_g = LoadLibraryA("component_g.dll");
# elif defined(__APPLE__)
void *component_g = dlopen("libcomponent_g.dylib", RTLD_NOW);
# else
void *component_g = dlopen("libcomponent_g.so", RTLD_NOW);
# endif
Expand All @@ -82,6 +84,8 @@ void do_something()

# ifdef _WIN32
HMODULE component_h = LoadLibraryA("component_h.dll");
# elif defined(__APPLE__)
void *component_h = dlopen("libcomponent_h.dylib", RTLD_NOW);
# else
void *component_h = dlopen("libcomponent_h.so", RTLD_NOW);
# endif
Expand Down
Loading