php-sdl
php-sdl copied to clipboard
Build falure with SDL 2.0.10
On RHEL / CentOS / Alma / Rocky... 8
In file included from /builddir/build/BUILD/php-pecl-sdl-2.6.0/NTS/src/php_sdl.c:33:
/builddir/build/BUILD/php-pecl-sdl-2.6.0/NTS/src/rect.h:37:42: error: unknown type name 'SDL_FRect'; did you mean 'SDL_Rect'?
zend_bool zval_to_sdl_frect(zval *value, SDL_FRect *rect);
^~~~~~~~~
SDL_Rect
compilation terminated due to -Wfatal-errors.