# HG changeset patch # User Patrice Mandin # Date 1218142545 0 # Node ID 1019eb074a566e6c8d3b7be2b678b7ed9554b28f # Parent 2325dd996f73ff9424685b1e2f190ac440988963 Check defines do not already exist in recent system headers diff -r 2325dd996f73 -r 1019eb074a56 src/video/ataricommon/SDL_atarimxalloc_c.h --- a/src/video/ataricommon/SDL_atarimxalloc_c.h Thu Aug 07 20:38:35 2008 +0000 +++ b/src/video/ataricommon/SDL_atarimxalloc_c.h Thu Aug 07 20:55:45 2008 +0000 @@ -33,10 +33,12 @@ /*--- Defines ---*/ /* Mxalloc parameters */ +#ifndef MX_STRAM #define MX_STRAM 0 #define MX_TTRAM 1 #define MX_PREFSTRAM 2 #define MX_PREFTTRAM 3 +#endif /*--- Functions ---*/ diff -r 2325dd996f73 -r 1019eb074a56 src/video/xbios/SDL_xbios.h --- a/src/video/xbios/SDL_xbios.h Thu Aug 07 20:38:35 2008 +0000 +++ b/src/video/xbios/SDL_xbios.h Thu Aug 07 20:55:45 2008 +0000 @@ -89,18 +89,17 @@ }; /* EgetShift masks */ -#define ES_BANK 0x000f #define ES_MODE 0x0700 -#define ES_GRAY 0x1000 -#define ES_SMEAR 0x8000 /* TT shifter modes */ +#ifndef ST_LOW #define ST_LOW 0x0000 #define ST_MED 0x0100 #define ST_HIGH 0x0200 #define TT_LOW 0x0700 #define TT_MED 0x0300 #define TT_HIGH 0x0600 +#endif /* Hidden structure -> variables names */ #define SDL_modelist (this->hidden->SDL_modelist)