mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
sdl2: move SDL_* includes to sdl2.h
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
cd2bc889e5
commit
19dadfccd0
|
@ -1,6 +1,12 @@
|
||||||
#ifndef SDL2_H
|
#ifndef SDL2_H
|
||||||
#define SDL2_H
|
#define SDL2_H
|
||||||
|
|
||||||
|
/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
|
#include <SDL.h>
|
||||||
|
#include <SDL_syswm.h>
|
||||||
|
|
||||||
struct sdl2_console {
|
struct sdl2_console {
|
||||||
DisplayChangeListener dcl;
|
DisplayChangeListener dcl;
|
||||||
DisplaySurface *surface;
|
DisplaySurface *surface;
|
||||||
|
|
|
@ -23,12 +23,6 @@
|
||||||
*/
|
*/
|
||||||
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
|
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
|
||||||
|
|
||||||
/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
|
|
||||||
#undef WIN32_LEAN_AND_MEAN
|
|
||||||
|
|
||||||
#include <SDL.h>
|
|
||||||
#include <SDL_syswm.h>
|
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "qemu-common.h"
|
||||||
#include "ui/console.h"
|
#include "ui/console.h"
|
||||||
#include "ui/input.h"
|
#include "ui/input.h"
|
||||||
|
|
|
@ -23,12 +23,6 @@
|
||||||
*/
|
*/
|
||||||
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
|
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
|
||||||
|
|
||||||
/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
|
|
||||||
#undef WIN32_LEAN_AND_MEAN
|
|
||||||
|
|
||||||
#include <SDL.h>
|
|
||||||
#include <SDL_syswm.h>
|
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "qemu-common.h"
|
||||||
#include "ui/console.h"
|
#include "ui/console.h"
|
||||||
#include "ui/input.h"
|
#include "ui/input.h"
|
||||||
|
|
|
@ -23,12 +23,6 @@
|
||||||
*/
|
*/
|
||||||
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
|
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
|
||||||
|
|
||||||
/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
|
|
||||||
#undef WIN32_LEAN_AND_MEAN
|
|
||||||
|
|
||||||
#include <SDL.h>
|
|
||||||
#include <SDL_syswm.h>
|
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "qemu-common.h"
|
||||||
#include "ui/console.h"
|
#include "ui/console.h"
|
||||||
#include "ui/input.h"
|
#include "ui/input.h"
|
||||||
|
|
Loading…
Reference in a new issue