Skip to content

Commit

Permalink
thread: MSVC doesn't allow __builtin_assume_aligned() in constexpr …
Browse files Browse the repository at this point in the history
…functions
  • Loading branch information
lhmouse committed Jan 18, 2024
1 parent e14fe33 commit 4fe61e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcfgthread/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ __MCF_thread_attach_foreign(_MCF_thread* __thrd) __MCF_NOEXCEPT;
/* Gets a pointer to user-defined data of a thread. If the thread does not have
* user-defined data, because zero was specified for the `__size` parameter to
* `_MCF_thread_new()`, a null pointer is returned. */
__MCF_THREAD_INLINE __MCF_FN_PURE __MCF_CXX11(constexpr)
__MCF_THREAD_INLINE __MCF_FN_PURE
__MCF_CXX(const) void*
_MCF_thread_get_data(const _MCF_thread* __thrd) __MCF_NOEXCEPT;

Expand Down

0 comments on commit 4fe61e3

Please sign in to comment.