mirror of https://github.com/libsdl-org/SDL
0a48abc860
I ran this script in the include directory: ```sh sed -i '' -e 's,#include "\(SDL.*\)",#include <SDL3/\1>,' *.h ``` I ran this script in the src directory: ```sh for i in ../include/SDL3/SDL*.h do hdr=$(basename $i) if [ x"$(echo $hdr | egrep 'SDL_main|SDL_name|SDL_test|SDL_syswm|SDL_opengl|SDL_egl|SDL_vulkan')" != x ]; then find . -type f -exec sed -i '' -e 's,#include "\('$hdr'\)",#include <SDL3/\1>,' {} \; else find . -type f -exec sed -i '' -e '/#include "'$hdr'"/d' {} \; fi done ``` Fixes https://github.com/libsdl-org/SDL/issues/6575 |
||
---|---|---|
.. | ||
android-prefab.sh | ||
androidbuild.sh | ||
androidbuildlibs.sh | ||
cmake-toolchain-mingw64-i686.cmake | ||
cmake-toolchain-mingw64-x86_64.cmake | ||
codechecker-buildbot.sh | ||
fnsince.pl | ||
gen_audio_channel_conversion.c | ||
gen_audio_resampler_filter.c | ||
git-pre-push-hook.pl | ||
mkinstalldirs | ||
showrev.sh | ||
strip_fPIC.sh | ||
test-versioning.sh | ||
update-copyright.sh | ||
update-version.sh | ||
updaterev.sh | ||
wikiheaders.pl |