diff --git a/source/game/q_shared.h b/source/game/q_shared.h index bf312dc..be9cc8b 100644 --- a/source/game/q_shared.h +++ b/source/game/q_shared.h @@ -332,6 +332,15 @@ static float LittleFloat (const float *l) { return FloatSwap(l); } #endif +//======================= C11 OR NEWER DEFINES ===================== + +// BFP - C11 or newer support +#ifndef ID_INLINE +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L + #define ID_INLINE inline +#endif +#endif + //============================================================= typedef unsigned char byte;