Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

provide some backwards compatibility with existing binaries #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 18, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
dll export
  • Loading branch information
kevinushey committed Jan 18, 2025
commit b77ae67105063a7ce2514d392b28629cd51c2387
8 changes: 7 additions & 1 deletion 8 src/tbb-compat/tbb-compat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
#include "../tbb/src/tbb/main.h"
#include "../tbb/src/tbb/thread_data.h"

#ifdef _WIN32
# define DLL_EXPORT __declspec(dllexport)
#else
# define DLL_EXPORT
#endif

namespace tbb {

namespace interface6 {
Expand Down Expand Up @@ -127,7 +133,7 @@ class task_scheduler_observer : public internal::task_scheduler_observer_v3 {
namespace tbb {
namespace internal {

__declspec(dllexport)
DLL_EXPORT
void __TBB_EXPORTED_FUNC task_scheduler_observer_v3::observe( bool enable ) {
auto* tso = (tbb::detail::d1::task_scheduler_observer*) (this);
tbb::detail::r1::observe(*tso, enable);
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.