Skip to content

Commit

Permalink
Force symbol visibility in release builds for DLM
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronj0 committed Dec 20, 2024
1 parent 3dca9da commit 2a684e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifdef _WIN32
extern "C" __declspec(dllexport) int ret_zero();
#else
extern "C" int ret_zero();
extern "C" __attribute__((visibility("default"))) int ret_zero();
#endif

#endif // UNITTESTS_CPPINTEROP_TESTSHAREDLIB_TESTSHAREDLIB_H

0 comments on commit 2a684e1

Please sign in to comment.