Updated raylib-cpp header files
This commit is contained in:
@@ -15,17 +15,23 @@ extern "C" {
|
||||
#include RAYLIB_H_FILE // NOLINT
|
||||
|
||||
#if !defined(RAYLIB_VERSION_MAJOR) || !defined(RAYLIB_VERSION_MINOR)
|
||||
#if RAYLIB_VERSION_MAJOR < 5
|
||||
#error "raylib-cpp requires at least raylib 5.0.0"
|
||||
#error "raylib-cpp requires raylib >= 5"
|
||||
#endif
|
||||
|
||||
#if RAYLIB_VERSION_MAJOR < 5
|
||||
#error "raylib-cpp requires raylib >= 5"
|
||||
#endif
|
||||
|
||||
#if RAYLIB_VERSION_MAJOR > 5
|
||||
#error "raylib-cpp targets raylib 5. Use the `next` branch for the next version of raylib."
|
||||
#error "raylib-cpp requires raylib ~5.0. Use the `next` branch for the next version of raylib."
|
||||
#endif
|
||||
|
||||
#if RAYLIB_VERSION_MINOR < 1
|
||||
#error "raylib-cpp targets raylib 5.1 or higher."
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
|
||||
#endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
|
||||
|
Reference in New Issue
Block a user