I forgot to wrap windows_create_symlink in a #ifdef in the first version,
so I added the #ifdef _GLIBCXX_FILESYSTEM_IS_WINDOWS. That is the only change.
This patch adds symlink support on Windows.
I tested it on x86_64-w64-mingw32 with msys2.
A few notes about this patch:
1. Symlinks can only be
This patch adds symlink support on Windows.
I tested it on x86_64-w64-mingw32 with msys2.
A few notes about this patch:
1. Symlinks can only be created while running as admin, or if Developer Mode
is enabled on Windows 10/11.
2. Symlinks on Windows are either file symlinks or directory symlinks