Fix linkage errors due to inline missing 'static'.
parent
be53a3dcd8
commit
9b8f3a6ad2
|
@ -17,9 +17,9 @@
|
||||||
#include "qsound_ctr.h"
|
#include "qsound_ctr.h"
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define INLINE __inline
|
#define INLINE static __inline
|
||||||
#else
|
#else
|
||||||
#define INLINE inline
|
#define INLINE static inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
|
#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
|
||||||
|
|
Loading…
Reference in New Issue