summaryrefslogtreecommitdiff
path: root/comms/soundmodem/files/patch-newqpsk_complex.h
blob: 123ce0e31b5eb34b732c17284009bfa958ad49c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- newqpsk/complex.h.orig	2015-05-04 17:51:16 UTC
+++ newqpsk/complex.h
@@ -10,11 +10,15 @@ typedef struct {
 #endif
 } complex;
 
+#if __clang__ > 0
+#define only_inline inline
+#else
 #if __GNUC__ < 5
 #define only_inline extern inline
 #else
 #define only_inline inline
 #endif
+#endif
 
 /*
  * Complex multiplication.