1
0
forked from 0ad/0ad
0ad/source/lib/external_libraries/sdl.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

37 lines
949 B
C

/**
* =========================================================================
* File : sdl.h
* Project : 0 A.D.
* Description : SDL header; uses emulator on Windows, otherwise libsdl.
* =========================================================================
*/
// license: GPL; see lib/license.txt
#ifndef INCLUDED_SDL
#define INCLUDED_SDL
#include "sdl_fwd.h"
#if OS_WIN && !defined(CONFIG_NO_WSDL)
# include "lib/sysdep/win/wsdl.h"
#else
# include <SDL/SDL.h>
# include <SDL/SDL_thread.h>
# include <SDL/SDL_endian.h>
// if the compiler doesn't support inlining, this header will pull
// in static bswap routines. doesn't matter - modern compilers
// will strip them if unused, and this is more convenient than
// another header that toggles between wsdl and SDL_endian.h.
#endif
// complete definition of our forward-declared SDL_Event (see sdl_fwd.h)
struct SDL_Event_
{
SDL_Event ev;
};
#endif // INCLUDED_SDL