Fix build.

This commit is contained in:
Themaister 2012-05-26 10:17:06 +02:00
parent 6583d8262b
commit 7cfd0a3660
3 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ endif
libretro ?= -lretro
LIBS = -lm
DEFINES = -I. -DHAVE_CONFIGFILE -DHAVE_SCREENSHOTS -DHAVE_BSV_MOVIE -DPACKAGE_VERSION=\"0.9.6-rc1\"
DEFINES = -I. -DHAVE_CONFIGFILE -DHAVE_SDL -DHAVE_SCREENSHOTS -DHAVE_BSV_MOVIE -DPACKAGE_VERSION=\"0.9.6-rc1\"
LDFLAGS = -L. -static-libgcc
LDCXXFLAGS = -s

View File

@ -16,9 +16,6 @@
// Compatibility wrapper between SDL 1.2/1.3 for OpenGL.
// Wraps functions which differ in 1.2 and 1.3.
#include "SDL.h"
#include "SDL_version.h"
#include "../gfx_context.h"
#include "../gfx_common.h"
#include "../../general.h"

View File

@ -16,6 +16,9 @@
#ifndef _SDL_CTX_H
#define _SDL_CTX_H
#include "SDL.h"
#include "SDL_version.h"
#if SDL_VERSION_ATLEAST(1, 3, 0)
#define SDL_MODERN 1
#else