Fix linkage errors due to inline missing 'static'.

CQTexperiment
Christopher Snowhill 2018-05-22 01:04:58 -07:00
parent aebbef593f
commit fa648bdc44
1 changed files with 2 additions and 2 deletions

View File

@ -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)))