Patched to compile on Mac OS X <= 10.4 SDKs. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Mon, 21 Sep 2009 04:34:22 +0000
branchSDL-1.2
changeset 4203 7e5486073044
parent 4202 7ec1d9a34164
child 4204 976bc19f8f6b
Patched to compile on Mac OS X <= 10.4 SDKs.
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