mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
Merge pull request #243 from RobLoach/error-on-raylib-4.6
Error out when on raylib >4.5
This commit is contained in:
@@ -18,6 +18,10 @@ extern "C" {
|
||||
#error "raylib-cpp requires at least raylib 4.5.0"
|
||||
#endif
|
||||
|
||||
#if RAYLIB_VERSION_MINOR > 5
|
||||
#error "raylib-cpp targets raylib 4.5. Use the `next` branch for the next version of raylib."
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user