Move all definitions of FLAC__U64L to one place.
[flac.git] / include / share / compat.h
index 8ad3698..220f5a2 100644 (file)
@@ -68,3 +68,9 @@
 #define restrict __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