Fix linkage errors due to inline missing 'static'.
This commit is contained in:
parent
aebbef593f
commit
fa648bdc44
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@
|
|||
#include "qsound_ctr.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define INLINE __inline
|
||||
#define INLINE static __inline
|
||||
#else
|
||||
#define INLINE inline
|
||||
#define INLINE static inline
|
||||
#endif
|
||||
|
||||
#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
|
||||
|
|
Loading…
Reference in a new issue