Tests for module 'strcasestr'.
[gnulib.git] / lib / unistr / u16-mbtouc.c
index 80c0430..937d4bb 100644 (file)
@@ -34,15 +34,11 @@ u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n)
       *puc = c;
       return 1;
     }
-#if CONFIG_UNICODE_SAFETY
   if (c < 0xdc00)
-#endif
     {
       if (n >= 2)
        {
-#if CONFIG_UNICODE_SAFETY
          if (s[1] >= 0xdc00 && s[1] < 0xe000)
-#endif
            {
              *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00);
              return 2;