svn commit: trunk/uClibc/libc/string

aldot at uclibc.org aldot at uclibc.org
Fri May 30 13:45:39 UTC 2008


Author: aldot
Date: 2008-05-30 06:45:38 -0700 (Fri, 30 May 2008)
New Revision: 22118

Log:
- Avoid warning about undefined preprocessor token. No obj-code changes.


Modified:
   trunk/uClibc/libc/string/strncat.c


Changeset:
Modified: trunk/uClibc/libc/string/strncat.c
===================================================================
--- trunk/uClibc/libc/string/strncat.c	2008-05-30 13:43:55 UTC (rev 22117)
+++ trunk/uClibc/libc/string/strncat.c	2008-05-30 13:45:38 UTC (rev 22118)
@@ -21,7 +21,7 @@
 
 	while (*s++);
 	--s;
-#if __BCC__
+#ifdef __BCC__
 	while (n-- && ((*s = *s2++) != 0)) ++s;
 #else
 	while (n && ((*s = *s2++) != 0)) {




More information about the uClibc-cvs mailing list