summaryrefslogtreecommitdiff
path: root/src/libFLAC/format.c
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2007-03-12 05:08:21 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2007-03-12 05:08:21 +0000
commit14b184ccedd773b9c0d6090851ce00bc05ff38ba (patch)
tree3b2353bca79e80024b37828c8466b8a0665ddf35 /src/libFLAC/format.c
parent10a6840138ac52fe7868dbaa820094b4847938f4 (diff)
downloadflac-14b184ccedd773b9c0d6090851ce00bc05ff38ba.tar.gz
unify inlining method in prep for inline tests
Diffstat (limited to 'src/libFLAC/format.c')
-rw-r--r--src/libFLAC/format.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libFLAC/format.c b/src/libFLAC/format.c
index 3a865b41..da341ad5 100644
--- a/src/libFLAC/format.c
+++ b/src/libFLAC/format.c
@@ -39,6 +39,10 @@
#include "FLAC/format.h"
#include "private/format.h"
+#ifndef FLaC__INLINE
+#define FLaC__INLINE
+#endif
+
#ifdef min
#undef min
#endif
@@ -294,7 +298,7 @@ FLAC_API unsigned FLAC__format_seektable_sort(FLAC__StreamMetadata_SeekTable *se
* and a more clear explanation at the end of this section:
* http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
*/
-static __inline unsigned utf8len_(const FLAC__byte *utf8)
+static FLaC__INLINE unsigned utf8len_(const FLAC__byte *utf8)
{
FLAC__ASSERT(0 != utf8);
if ((utf8[0] & 0x80) == 0) {