shithub: ft²

Download patch

ref: f9216942946e320476d75cb77809de1b0792630f
parent: eb3e2dfbbcda6a2deef6e8505ac1d8082bc92bdc
author: Olav Sørensen <olav.sorensen@live.no>
date: Mon Dec 13 07:54:51 EST 2021

Fix MacOS compile warning in RtMidi.cpp

--- a/src/rtmidi/RtMidi.cpp
+++ b/src/rtmidi/RtMidi.cpp
@@ -41,7 +41,7 @@
 #include <sstream>
 
 #if defined(__MACOSX_CORE__)
-  #if TARGET_OS_IPHONE
+  #if defined(TARGET_OS_IPHONE)
     #define AudioGetCurrentHostTime CAHostTimeBase::GetCurrentTime
     #define AudioConvertHostTimeToNanos CAHostTimeBase::ConvertToNanos
   #endif