possibly fix compilation under macOS?
This commit is contained in:
parent
6d0e9d80f9
commit
f03f6bdb8d
|
@ -40,6 +40,7 @@
|
|||
#include "RtMidi.h"
|
||||
#include <sstream>
|
||||
|
||||
#ifdef TARGET_OS_IPHONE
|
||||
#if (TARGET_OS_IPHONE == 1)
|
||||
|
||||
#define AudioGetCurrentHostTime CAHostTimeBase::GetCurrentTime
|
||||
|
@ -66,6 +67,7 @@
|
|||
#define EndianS32_BtoN(n) n
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Default for Windows is to add an identifier to the port names; this
|
||||
// flag can be defined (e.g. in your project file) to disable this behaviour.
|
||||
|
@ -814,7 +816,7 @@ MidiOutApi :: ~MidiOutApi( void )
|
|||
// time values.
|
||||
|
||||
// These are not available on iOS.
|
||||
#if (TARGET_OS_IPHONE == 0)
|
||||
#ifdef TARGET_OS_IPHONE
|
||||
#include <CoreAudio/HostTime.h>
|
||||
#include <CoreServices/CoreServices.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue