Enable the function only if HAVE_INLINE.
[gnulib.git] / lib / unistr / u8-mbtouc-aux.c
index 15343db..04da630 100644 (file)
@@ -22,6 +22,8 @@
 /* Specification.  */
 #include "unistr.h"
 
+#if HAVE_INLINE
+
 int
 u8_mbtouc_aux (ucs4_t *puc, const uint8_t *s, size_t n)
 {
@@ -154,3 +156,5 @@ u8_mbtouc_aux (ucs4_t *puc, const uint8_t *s, size_t n)
   *puc = 0xfffd;
   return 1;
 }
+
+#endif