summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 13:45:38 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 13:45:38 +0000
commit72139db7f193c83558b785ee78e082117c42d74f (patch)
tree4e5294591fc6b1d9decd560fb3607091aa106943 /libc/string
parent91263f94770d1cb1fb576fb67d267e37a9c0bc00 (diff)
- Avoid warning about undefined preprocessor token. No obj-code changes.
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/strncat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strncat.c b/libc/string/strncat.c
index be4dd9301..0180d1328 100644
--- a/libc/string/strncat.c
+++ b/libc/string/strncat.c
@@ -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)) {