New module 'sprintf-posix'.
[gnulib.git] / lib / unistr / u32-mbtouc.c
index 30b907b..824db3c 100644 (file)
@@ -29,15 +29,11 @@ u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n)
 {
   uint32_t c = *s;
 
-#if CONFIG_UNICODE_SAFETY
   if (c < 0xd800 || (c >= 0xe000 && c < 0x110000))
-#endif
     *puc = c;
   else
-#if CONFIG_UNICODE_SAFETY
     /* invalid multibyte character */
     *puc = 0xfffd;
-#endif
   return 1;
 }