Common/CommonFuncs: Move interface into Common namespace

Gets these functions out of the global namespace.
This commit is contained in:
Lioncash
2023-04-18 12:50:31 -04:00
parent 361ffd5917
commit f1ad43afaf
8 changed files with 19 additions and 12 deletions

View File

@ -13,6 +13,8 @@
#define strerror_r(err, buf, len) strerror_s(buf, len, err)
#endif
namespace Common
{
constexpr size_t BUFFER_SIZE = 256;
// Wrapper function to get last strerror(errno) string.
@ -73,3 +75,4 @@ std::optional<std::wstring> GetModuleName(void* hInstance)
return name;
}
#endif
} // namespace Common