# HG changeset patch # User Patrice Mandin # Date 1218141515 0 # Node ID 2325dd996f73ff9424685b1e2f190ac440988963 # Parent 3e7f2edce658b65368184e5dfc405124a1bf60bf Check defines do not already exist in recent system headers diff -r 3e7f2edce658 -r 2325dd996f73 src/audio/mint/SDL_mintaudio.h --- a/src/audio/mint/SDL_mintaudio.h Fri Jul 25 10:52:10 2008 +0000 +++ b/src/audio/mint/SDL_mintaudio.h Thu Aug 07 20:38:35 2008 +0000 @@ -84,6 +84,7 @@ #define MASTERPREDIV_MILAN 256 /* MFP 68901 interrupt sources */ +#ifndef MFP_PARALLEL enum { MFP_PARALLEL=0, MFP_DCD, @@ -106,14 +107,17 @@ 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; diff -r 3e7f2edce658 -r 2325dd996f73 src/video/ataricommon/SDL_gemdosevents.c --- a/src/video/ataricommon/SDL_gemdosevents.c Fri Jul 25 10:52:10 2008 +0000 +++ b/src/video/ataricommon/SDL_gemdosevents.c Thu Aug 07 20:38:35 2008 +0000 @@ -45,10 +45,12 @@ 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);