From a00594837a0db0bdded091225a7b2faf173a5043 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 22 Mar 2012 14:06:42 +0000 Subject: patch [#30635] Fix SDL2 version check by Wander Costa (walac) --- intern/ghost/intern/GHOST_DisplayManagerSDL.h | 4 ++-- intern/ghost/intern/GHOST_SystemSDL.h | 4 ++-- intern/ghost/intern/GHOST_WindowSDL.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.h b/intern/ghost/intern/GHOST_DisplayManagerSDL.h index 72f756f653a..aad0cf39309 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerSDL.h +++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.h @@ -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; diff --git a/intern/ghost/intern/GHOST_SystemSDL.h b/intern/ghost/intern/GHOST_SystemSDL.h index e7700649140..7610c594665 100644 --- a/intern/ghost/intern/GHOST_SystemSDL.h +++ b/intern/ghost/intern/GHOST_SystemSDL.h @@ -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 diff --git a/intern/ghost/intern/GHOST_WindowSDL.h b/intern/ghost/intern/GHOST_WindowSDL.h index 724c59de0b9..e984aafc733 100644 --- a/intern/ghost/intern/GHOST_WindowSDL.h +++ b/intern/ghost/intern/GHOST_WindowSDL.h @@ -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; -- cgit v1.2.3