about summary refs log tree commit diff
path: root/pkgs/development/libraries/audio/rtmidi/macos_include_targetconditionals.patch
blob: 58eaf5f490b1a62e9bbcd7989698c5d02c96e566 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ru a/RtMidi.cpp b/RtMidi.cpp
--- a/RtMidi.cpp	2021-12-23 16:46:33.000000000 -0500
+++ b/RtMidi.cpp	2021-12-23 16:48:19.000000000 -0500
@@ -39,6 +39,9 @@
 
 #include "RtMidi.h"
 #include <sstream>
+#if defined(__APPLE__)
+#include <TargetConditionals.h>
+#endif
 
 #if defined(__MACOSX_CORE__)
   #if TARGET_OS_IPHONE