svn commit: trunk/uClibc/libc/string/generic
aldot at uclibc.org
aldot at uclibc.org
Wed Sep 24 16:15:02 UTC 2008
Author: aldot
Date: 2008-09-24 09:15:01 -0700 (Wed, 24 Sep 2008)
New Revision: 23473
Log:
- silence warning about possibly undefined preprocessor token
Modified:
trunk/uClibc/libc/string/generic/pagecopy.h
Changeset:
Modified: trunk/uClibc/libc/string/generic/pagecopy.h
===================================================================
--- trunk/uClibc/libc/string/generic/pagecopy.h 2008-09-24 15:30:59 UTC (rev 23472)
+++ trunk/uClibc/libc/string/generic/pagecopy.h 2008-09-24 16:15:01 UTC (rev 23473)
@@ -40,7 +40,7 @@
*/
-#if PAGE_COPY_THRESHOLD
+#if defined PAGE_COPY_THRESHOLD && PAGE_COPY_THRESHOLD
#include <assert.h>
@@ -48,7 +48,7 @@
do \
{ \
if ((nbytes) >= PAGE_COPY_THRESHOLD && \
- PAGE_OFFSET ((dstp) - (srcp)) == 0) \
+ PAGE_OFFSET ((dstp) - (srcp)) == 0) \
{ \
/* The amount to copy is past the threshold for copying \
pages virtually with kernel VM operations, and the \
More information about the uClibc-cvs
mailing list