ncx: use __inline with MSVC

Visual Studio 2013 and older do not support `inline` in C code.
This commit is contained in:
Ben Boeckel 2018-02-08 11:47:12 -05:00
parent db41b2a653
commit e0f314123f

View File

@ -296,6 +296,9 @@ static const char nada[X_ALIGN] = {0, 0, 0, 0};
(((a) & 0x00FF000000000000ULL) >> 40) | \
(((a) & 0xFF00000000000000ULL) >> 56) )
#if defined(_MSC_VER) && _MSC_VER < 1900
#define inline __inline
#endif
inline static void
swapn2b(void *dst, const void *src, IntType nn)