Skip to content

Commit

Permalink
Check defines do not already exist in recent system headers
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Aug 7, 2008
1 parent 267648b commit cd840be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/video/ataricommon/SDL_atarimxalloc_c.h
Expand Up @@ -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 ---*/

Expand Down
5 changes: 2 additions & 3 deletions src/video/xbios/SDL_xbios.h
Expand Up @@ -89,18 +89,17 @@ enum {
};

/* 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)
Expand Down

0 comments on commit cd840be

Please sign in to comment.