Commit cf3e9b51 authored by Sam Lantinga's avatar Sam Lantinga

Better fix for bug #861

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404129
parent 48c68a0a
......@@ -37,6 +37,10 @@
#include <AudioUnit/AUNTComponent.h>
#endif
#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
typedef SInt16 FSIORefNum;
#endif
#include "SDL_error.h"
const char* AudioFilePlayerErrorStr (OSStatus error);
......@@ -80,11 +84,7 @@ typedef struct S_AudioFilePlayer
/*private:*/
AudioUnit mPlayUnit;
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
FSIORefNum mForkRefNum;
#else
int mForkRefNum;
#endif
AURenderCallbackStruct mInputCallback;
......
......@@ -34,10 +34,6 @@
#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment