mirror of https://github.com/libsdl-org/SDL.git
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
|
||
|---|---|---|
| .. | ||
| e_atan2.c | ||
| e_exp.c | ||
| e_fmod.c | ||
| e_log.c | ||
| e_log10.c | ||
| e_pow.c | ||
| e_rem_pio2.c | ||
| e_sqrt.c | ||
| k_cos.c | ||
| k_rem_pio2.c | ||
| k_sin.c | ||
| k_tan.c | ||
| math_libm.h | ||
| math_private.h | ||
| s_atan.c | ||
| s_copysign.c | ||
| s_cos.c | ||
| s_fabs.c | ||
| s_floor.c | ||
| s_scalbn.c | ||
| s_sin.c | ||
| s_tan.c | ||