src/cdrom/macosx/AudioFilePlayer.h
branchSDL-1.2
changeset 4368 4c088d2b29eb
parent 4190 386181851388
child 4369 f14cf9d71233
--- a/src/cdrom/macosx/AudioFilePlayer.h	Mon Oct 19 10:09:58 2009 +0000
+++ b/src/cdrom/macosx/AudioFilePlayer.h	Tue Oct 20 03:45:06 2009 +0000
@@ -80,8 +80,12 @@
 
 /*private:*/
     AudioUnit                       mPlayUnit;
-    SInt16                          mForkRefNum;
-    
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
+    FSIORefNum                      mForkRefNum;
+#else
+    int                             mForkRefNum;
+#endif
+
     AURenderCallbackStruct          mInputCallback;
 
     AudioStreamBasicDescription     mFileDescription;