commit | dd26ae7065a9ed60c8ab517ed79bf7935394aec7 | [log] [tgz] |
---|---|---|
author | Mike Schuchardt <mikes@lunarg.com> | Wed Aug 30 13:20:05 2023 -0700 |
committer | Christophe <62888873+christophe-lunarg@users.noreply.github.com> | Thu Aug 31 09:32:08 2023 +0200 |
tree | 2b7290c181e0a40efe36a10ef96454d98b7edf24 | |
parent | 21bebf6af19eb5526819936029fda2642d284785 [diff] |
Fix Windows build with /p:CharacterSet=Unicode Use TCHAR/TEXT macros for strings when interfacing with the Win32 API. Use native Win32 GetFileAttributes call to check if a file exists. Pass the layer settings file path around as a std::filesystem::path to avoid the need for an encoding conversion on Windows.