sdl3/sdl3.features.scm
2024-10-08 21:00:14 +02:00

12 lines
329 B
Scheme

(module (sdl3 features)
()
(import (scheme)
(chicken base)
(chicken foreign)
(chicken platform))
(begin
(foreign-declare "#include <SDL3/SDL_version.h>")
(register-feature! 'sdl3)
(when (foreign-value "SDL_VERSION_ATLEAST(3,0,0)" bool)
(register-feature! 'sdl3-3.0.0+))))