Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some cygwin/mingw don't know about SHGetKnownFolderPath
You can check if you have it with nm -a /usr/i686-w64-mingw32/sys-root/mingw/lib/libshfolder.a | less Workaround by using older (MSVC deprecated) SHGetFolderPathW Also force MY_DOCUMENTS_VAR as WCHAR, since it is used thru SetEnvironmentVariableW Also add a few missing return
- Loading branch information
1 parent
dc3df9b
commit 4f87bc4
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters