summaryrefslogtreecommitdiff
path: root/comms/soundmodem/files/patch-soundcard_modem.h
diff options
context:
space:
mode:
Diffstat (limited to 'comms/soundmodem/files/patch-soundcard_modem.h')
-rw-r--r--comms/soundmodem/files/patch-soundcard_modem.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/comms/soundmodem/files/patch-soundcard_modem.h b/comms/soundmodem/files/patch-soundcard_modem.h
new file mode 100644
index 000000000000..8e5b1334e71c
--- /dev/null
+++ b/comms/soundmodem/files/patch-soundcard_modem.h
@@ -0,0 +1,18 @@
+--- soundcard/modem.h.orig 2015-05-04 17:48:03 UTC
++++ soundcard/modem.h
+@@ -79,11 +79,15 @@ typedef unsigned long long /* deduced */
+
+ /* ---------------------------------------------------------------------- */
+
++#if __clang__ > 0
++#define only_inline inline
++#else
+ #if __GNUC__ < 5
+ #define only_inline extern inline
+ #else
+ #define only_inline inline
+ #endif
++#endif
+
+ struct modemchannel;
+