patch [#30635] Fix SDL2 version check by Wander Costa (walac)
This commit is contained in:
parent
7ba12321ec
commit
a00594837a
@ -34,8 +34,8 @@ extern "C" {
|
||||
#include "SDL.h"
|
||||
}
|
||||
|
||||
#if !SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
# error "SDL 1.3 or newer is needed to build with Ghost"
|
||||
#if !SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
# error "SDL 2.0 or newer is needed to build with Ghost"
|
||||
#endif
|
||||
|
||||
class GHOST_SystemSDL;
|
||||
|
@ -39,8 +39,8 @@ extern "C" {
|
||||
#include "SDL.h"
|
||||
}
|
||||
|
||||
#if !SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
# error "SDL 1.3 or newer is needed to build with Ghost"
|
||||
#if !SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
# error "SDL 2.0 or newer is needed to build with Ghost"
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -36,8 +36,8 @@ extern "C" {
|
||||
#include "SDL.h"
|
||||
}
|
||||
|
||||
#if !SDL_VERSION_ATLEAST(1, 3, 0)
|
||||
# error "SDL 1.3 or newer is needed to build with Ghost"
|
||||
#if !SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
# error "SDL 2.0 or newer is needed to build with Ghost"
|
||||
#endif
|
||||
|
||||
class STR_String;
|
||||
|
Loading…
Reference in New Issue
Block a user