summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-01-07 21:10:08 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-01-07 21:26:45 +1100
commitb84f07248e355c804cb2af9eb0c7dd38bdd6935f (patch)
treebbec4aa7a5458d4e375b0cfd4d0bfe9f8bc1b096 /include
parentd65ede3e874c79348efc85cf3a185c170046c4c8 (diff)
downloadflac-b84f07248e355c804cb2af9eb0c7dd38bdd6935f.tar.gz
compat.h : Simplify definition of FLAC__U64L.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/share/compat.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/share/compat.h b/include/share/compat.h
index a7447aa5..a17cc634 100644
--- a/include/share/compat.h
+++ b/include/share/compat.h
@@ -85,12 +85,7 @@
#define flac_restrict
#endif
-/* 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
+#define FLAC__U64L(x) x##ULL
#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
#define FLAC__STRNCASECMP strnicmp