# HG changeset patch # User Ryan C. Gordon # Date 1253507662 0 # Node ID 7e54860730440fdbae055f901c311a0f11b3ed43 # Parent 7ec1d9a34164051a594a07585a4d3275f4231a43 Patched to compile on Mac OS X <= 10.4 SDKs. diff -r 7ec1d9a34164 -r 7e5486073044 src/cdrom/macosx/CDPlayer.h --- a/src/cdrom/macosx/CDPlayer.h Sun Sep 20 18:14:35 2009 +0000 +++ b/src/cdrom/macosx/CDPlayer.h Mon Sep 21 04:34:22 2009 +0000 @@ -34,6 +34,10 @@ #include "SDL_thread.h" #include "SDL_mutex.h" +#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050 +typedef SInt16 FSIORefNum; +#endif + #ifdef __cplusplus extern "C" { #endif