Enable the function only if HAVE_INLINE.
[gnulib.git] / lib / unistr / u16-uctomb-aux.c
index 7ea56a1..6b04727 100644 (file)
@@ -22,6 +22,8 @@
 /* Specification.  */
 #include "unistr.h"
 
+#if HAVE_INLINE
+
 int
 u16_uctomb_aux (uint16_t *s, ucs4_t uc, int n)
 {
@@ -58,3 +60,5 @@ u16_uctomb_aux (uint16_t *s, ucs4_t uc, int n)
     }
   return -2;
 }
+
+#endif