forked from 0ad/0ad
janwas
b80be29eab
ia32.asm: move get_current_context code here wdbg_sym: revised get_context code; moved it into walk_stack (fixes bug on non-ia32) wsdl: bring in line with real SDL SDL_BUTTON_* (sorry nicolai!) interact now checks for expected values of SDL_BUTTON. This was SVN commit r2991.
19 lines
487 B
C
Executable File
19 lines
487 B
C
Executable File
#ifndef LIB_SDL_H__
|
|
#define LIB_SDL_H__
|
|
|
|
#if OS_WIN && !defined(CONFIG_NO_WSDL)
|
|
# include "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
|
|
|
|
#endif // LIB_SDL_H__
|