OSDN Git Service

- Avoid warning about undefined preprocessor token. No obj-code changes.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 30 May 2008 13:45:38 +0000 (13:45 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 30 May 2008 13:45:38 +0000 (13:45 -0000)
libc/string/strncat.c

index be4dd93..0180d13 100644 (file)
@@ -21,7 +21,7 @@ Wchar *Wstrncat(Wchar * __restrict s1, register const Wchar * __restrict s2,
 
        while (*s++);
        --s;
-#if __BCC__
+#ifdef __BCC__
        while (n-- && ((*s = *s2++) != 0)) ++s;
 #else
        while (n && ((*s = *s2++) != 0)) {