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 152acb5 commit 267648b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/audio/mint/SDL_mintaudio.h
Expand Up @@ -84,6 +84,7 @@ enum {
#define MASTERPREDIV_MILAN 256

/* MFP 68901 interrupt sources */
#ifndef MFP_PARALLEL
enum {
MFP_PARALLEL=0,
MFP_DCD,
Expand All @@ -106,14 +107,17 @@ enum {
MFP_RING,
MFP_MONODETECT
};
#endif

/* Xbtimer() timers */
#ifndef XB_TIMERA
enum {
XB_TIMERA=0,
XB_TIMERB,
XB_TIMERC,
XB_TIMERD
};
#endif

/* Variables */
extern SDL_AudioDevice *SDL_MintAudio_device;
Expand Down
2 changes: 2 additions & 0 deletions src/video/ataricommon/SDL_gemdosevents.c
Expand Up @@ -45,10 +45,12 @@ static unsigned char gemdos_currentkeyboard[ATARIBIOS_MAXKEYS];
static unsigned char gemdos_previouskeyboard[ATARIBIOS_MAXKEYS];
static SDL_bool use_dev_mouse = SDL_FALSE;

#ifndef DEV_BUSY
enum {
DEV_BUSY=0,
DEV_READY
};
#endif

static void UpdateSpecialKeys(int special_keys_state);

Expand Down

0 comments on commit 267648b

Please sign in to comment.