Move all definitions of FLAC__U64L to one place.

This commit is contained in:
Erik de Castro Lopo
2012-06-22 14:52:53 +10:00
parent 1294b64996
commit 5b62b770bc
7 changed files with 12 additions and 44 deletions

View File

@@ -40,6 +40,7 @@
#include "private/crc.h"
#include "private/macros.h"
#include "FLAC/assert.h"
#include "share/compat.h"
#include "share/endswap.h"
/* Things should be fastest when this matches the machine word size */
@@ -72,13 +73,6 @@
*/
static const unsigned FLAC__BITREADER_DEFAULT_CAPACITY = 65536u / FLAC__BITS_PER_WORD; /* in words */
/* adjust for compilers that can't understand using LLU suffix for uint64_t literals */
#ifdef _MSC_VER
#define FLAC__U64L(x) x
#else
#define FLAC__U64L(x) x##LLU
#endif
/* WATCHOUT: assembly routines rely on the order in which these fields are declared */
struct FLAC__BitReader {
/* any partially-consumed word at the head will stay right-justified as bits are consumed from the left */