diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-24 16:15:01 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-24 16:15:01 +0000 |
commit | 660cda8aadeba29f7958dd18e04ff8e0793d379c (patch) | |
tree | 5e3b551b77beb637e1d4c121f06776dc34d6eb99 | |
parent | f73791df3ac9ce3552e6bbea2a931dd614605969 (diff) |
- silence warning about possibly undefined preprocessor token
-rw-r--r-- | libc/string/generic/pagecopy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/generic/pagecopy.h b/libc/string/generic/pagecopy.h index 5a0ada1fa..b00db493b 100644 --- a/libc/string/generic/pagecopy.h +++ b/libc/string/generic/pagecopy.h @@ -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 \ |