2005-10-24 02:06:08 +02:00
|
|
|
#ifndef LIB_SDL_H__
|
|
|
|
#define LIB_SDL_H__
|
2005-06-20 17:14:36 +02:00
|
|
|
|
2005-10-24 02:06:08 +02:00
|
|
|
#if OS_WIN && !defined(CONFIG_NO_WSDL)
|
2004-05-06 19:14:30 +02:00
|
|
|
# include "sysdep/win/wsdl.h"
|
2004-03-03 00:56:51 +01:00
|
|
|
#else
|
2005-10-24 02:06:08 +02:00
|
|
|
|
2004-05-06 19:14:30 +02:00
|
|
|
# include <SDL/SDL.h>
|
|
|
|
# include <SDL/SDL_thread.h>
|
2004-05-31 14:21:14 +02:00
|
|
|
# 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.
|
2005-06-20 17:14:36 +02:00
|
|
|
|
2004-05-06 19:14:30 +02:00
|
|
|
#endif
|
2005-06-20 17:14:36 +02:00
|
|
|
|
2005-10-24 02:06:08 +02:00
|
|
|
#endif // LIB_SDL_H__
|