summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-12-25 08:10:23 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-12-25 08:10:54 +0200
commit2254b31a65c784888215169efc9a067f7dd3a430 (patch)
tree884b8fd0b5466148e393787124b0a07195304dcc
parentcf93928fe9cb4ce1600f2f472191ce88e94ee0d7 (diff)
Compiling with SDL versions earlier than 2.0.14
-rw-r--r--src/app.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index e1b981d8..cc067571 100644
--- a/src/app.c
+++ b/src/app.c
@@ -54,7 +54,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
54#include <SDL_render.h> 54#include <SDL_render.h>
55#include <SDL_timer.h> 55#include <SDL_timer.h>
56#include <SDL_video.h> 56#include <SDL_video.h>
57#include <SDL_misc.h>
58#include <SDL_version.h> 57#include <SDL_version.h>
59 58
60#include <stdio.h> 59#include <stdio.h>
@@ -67,6 +66,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
67#if defined (iPlatformMsys) 66#if defined (iPlatformMsys)
68# include "win32.h" 67# include "win32.h"
69#endif 68#endif
69#if SDL_VERSION_ATLEAST(2, 0, 14)
70# include <SDL_misc.h>
71#endif
70 72
71iDeclareType(App) 73iDeclareType(App)
72 74