mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-08 12:50:07 +00:00
Fix build.
This commit is contained in:
parent
6583d8262b
commit
7cfd0a3660
@ -30,7 +30,7 @@ endif
|
|||||||
libretro ?= -lretro
|
libretro ?= -lretro
|
||||||
|
|
||||||
LIBS = -lm
|
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
|
LDFLAGS = -L. -static-libgcc
|
||||||
LDCXXFLAGS = -s
|
LDCXXFLAGS = -s
|
||||||
|
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
// Compatibility wrapper between SDL 1.2/1.3 for OpenGL.
|
// Compatibility wrapper between SDL 1.2/1.3 for OpenGL.
|
||||||
// Wraps functions which differ in 1.2 and 1.3.
|
// Wraps functions which differ in 1.2 and 1.3.
|
||||||
|
|
||||||
#include "SDL.h"
|
|
||||||
#include "SDL_version.h"
|
|
||||||
|
|
||||||
#include "../gfx_context.h"
|
#include "../gfx_context.h"
|
||||||
#include "../gfx_common.h"
|
#include "../gfx_common.h"
|
||||||
#include "../../general.h"
|
#include "../../general.h"
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
#ifndef _SDL_CTX_H
|
#ifndef _SDL_CTX_H
|
||||||
#define _SDL_CTX_H
|
#define _SDL_CTX_H
|
||||||
|
|
||||||
|
#include "SDL.h"
|
||||||
|
#include "SDL_version.h"
|
||||||
|
|
||||||
#if SDL_VERSION_ATLEAST(1, 3, 0)
|
#if SDL_VERSION_ATLEAST(1, 3, 0)
|
||||||
#define SDL_MODERN 1
|
#define SDL_MODERN 1
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user