Skip to content

Commit

Permalink
export functions
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Oct 31, 2024
1 parent 7f984a8 commit b9aaf99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/quill/backend/ThreadUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ ReturnT callRunTimeDynamicLinkedFunction(std::string const& dll_name,
* a null string is retrieved into name.
* @return the thread name
*/
QUILL_NODISCARD inline std::string get_thread_name()
QUILL_NODISCARD QUILL_EXPORT inline std::string get_thread_name()
{
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(QUILL_NO_THREAD_NAME_SUPPORT)
// Disabled on MINGW / Cygwin.
Expand Down Expand Up @@ -172,7 +172,7 @@ QUILL_NODISCARD inline std::string get_thread_name()
* Returns the os assigned ID of the thread
* @return the thread ID of the calling thread
*/
QUILL_NODISCARD inline uint32_t get_thread_id() noexcept
QUILL_NODISCARD QUILL_EXPORT inline uint32_t get_thread_id() noexcept
{
#if defined(__CYGWIN__)
// get thread id on cygwin not supported
Expand Down

0 comments on commit b9aaf99

Please sign in to comment.