Skip to content

Commit

Permalink
Clang
Browse files Browse the repository at this point in the history
Signed-off-by: p-wysocki <[email protected]>
  • Loading branch information
p-wysocki committed Dec 29, 2024
1 parent 8670e27 commit 2d9f12a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/inference/src/dev/core_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//

// https://developercommunity.visualstudio.com/t/Crash-SEGV-in-mutex-lock/10679088#T-N10680013
#if defined(_WIN32) || defined(_WIN64)
#define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
#if defined(_MSC_VER)
# define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
#endif

#include "core_impl.hpp"
Expand Down
4 changes: 2 additions & 2 deletions src/inference/src/dev/threading/executor_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//

// https://developercommunity.visualstudio.com/t/Crash-SEGV-in-mutex-lock/10679088#T-N10680013
#if defined(_WIN32) || defined(_WIN64)
#define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
#if defined(_MSC_VER)
# define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
#endif

#include "openvino/runtime/threading/executor_manager.hpp"
Expand Down

0 comments on commit 2d9f12a

Please sign in to comment.