Remove VST3 SDK patch for shlobj.h casing

They fixed this in version 3.7.3.
This commit is contained in:
Robbert van der Helm
2021-08-10 17:14:58 +02:00
parent e6f0fe16d8
commit 8d96eee3c8
-6
View File
@@ -19,12 +19,6 @@ if [[ -z $sdk_directory ]]; then
exit 1
fi
# Make sure all imports use the correct casing. In version 3.7.2 they actually
# fixed the casing for `windows.h`, but `shlobj.h` is still incorrect. We should
# remove this once casing issues have been fixed everywhere.
find "$sdk_directory" -type f \( -iname '*.h' -or -iname '*.cpp' \) -print0 |
xargs -0 sed -i -E 's/^#include <(ShlObj.h)>$/#include <\L\1\E>/'
# Use the proper libc functions instead of the MSVC intrinsics. These are also
# used in `fstring.cpp`, but there we will patch the entire file to use the
# standard POSIX/GCC string formatting facilities.