compat.h : Simplify definition of FLAC__U64L.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo
2014-01-07 21:10:08 +11:00
parent d65ede3e87
commit b84f07248e

View File

@@ -85,12 +85,7 @@
#define flac_restrict #define flac_restrict
#endif #endif
/* adjust for compilers that can't understand using LLU suffix for uint64_t literals */ #define FLAC__U64L(x) x##ULL
#ifdef _MSC_VER
#define FLAC__U64L(x) x
#else
#define FLAC__U64L(x) x##LLU
#endif
#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ #if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
#define FLAC__STRNCASECMP strnicmp #define FLAC__STRNCASECMP strnicmp