First Commit

This commit is contained in:
2025-02-06 22:24:29 +08:00
parent ed7df4c81e
commit 7539e6a53c
18116 changed files with 6181499 additions and 0 deletions

24
externals/openal-soft/common/strutils.h vendored Normal file
View File

@@ -0,0 +1,24 @@
#ifndef AL_STRUTILS_H
#define AL_STRUTILS_H
#include <string>
#include "aloptional.h"
#ifdef _WIN32
#include <wchar.h>
std::string wstr_to_utf8(const wchar_t *wstr);
std::wstring utf8_to_wstr(const char *str);
#endif
namespace al {
al::optional<std::string> getenv(const char *envname);
#ifdef _WIN32
al::optional<std::wstring> getenv(const wchar_t *envname);
#endif
} // namespace al
#endif /* AL_STRUTILS_H */