9 lines
276 B
Scheme
9 lines
276 B
Scheme
(define-library (sdl3 features)
|
|
(import (scheme)
|
|
(chicken foreign))
|
|
(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+))))
|