Skip to content

Commit

Permalink
Utils: make get_tls_pointer not a debug build only func
Browse files Browse the repository at this point in the history
  • Loading branch information
matty45 committed Apr 26, 2023
1 parent f0d0316 commit c2eeb3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ class utils
*/
static void backtrace(const char* func);

#endif

/**
* \brief This gets the pointer from TLS
* \param module_name the name of the dll/exe that you want to get the pointer from
Expand All @@ -88,8 +90,6 @@ class utils
*/
static char* get_tls_pointer(LPCWSTR module_name, int TLSFunctionIndex = NULL);

#endif

/**
* \brief Detaches drinol.
*/
Expand Down

0 comments on commit c2eeb3e

Please sign in to comment.