summaryrefslogtreecommitdiff
path: root/src/test_libFLAC/bitwriter.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2012-06-22 14:52:53 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2012-06-22 14:52:53 +1000
commit5b62b770bc79d73138a59e74dc6db651cddc5f36 (patch)
treebb875235695ab17494ae5d6f3c0b0e3f57ce8d14 /src/test_libFLAC/bitwriter.c
parent1294b6499609e377573d6a9d4841769cb5b2a10d (diff)
downloadflac-5b62b770bc79d73138a59e74dc6db651cddc5f36.tar.gz
Move all definitions of FLAC__U64L to one place.
Diffstat (limited to 'src/test_libFLAC/bitwriter.c')
-rw-r--r--src/test_libFLAC/bitwriter.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/test_libFLAC/bitwriter.c b/src/test_libFLAC/bitwriter.c
index e0e32862..fa516d29 100644
--- a/src/test_libFLAC/bitwriter.c
+++ b/src/test_libFLAC/bitwriter.c
@@ -21,18 +21,12 @@
#endif
#include "FLAC/assert.h"
+#include "share/compat.h"
#include "private/bitwriter.h" /* from the libFLAC private include area */
#include "bitwriter.h"
#include <stdio.h>
#include <string.h> /* for memcmp() */
-/* 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! Since FLAC__BitWriter is a private structure, we use a copy of
* the definition here to get at the internals. Make sure this is kept up