diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-03 01:28:45 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-03 01:49:43 +0530 |
commit | 99f8dc922033821edcc13f9f8360e9fda40dfcff (patch) | |
tree | 50c567b703247e62945dbe084c754c149f38ba9e /sysdeps/mach | |
parent | bc8ea38590070604006399e42469087e943fc8ec (diff) | |
download | glibc-99f8dc922033821edcc13f9f8360e9fda40dfcff.tar.gz glibc-99f8dc922033821edcc13f9f8360e9fda40dfcff.tar.xz glibc-99f8dc922033821edcc13f9f8360e9fda40dfcff.zip |
Fix -Wundef warning on PAGE_COPY_THRESHOLD
The PAGE_COPY_THRESHOLD macro is meant to be overridden by architecture-specific pagecopy.h, but it is currently done only by mach; all other architectures use the default. Check to see if the macro is defined in addition to whether it is set to a non-zero value.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/pagecopy.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/mach/pagecopy.h b/sysdeps/mach/pagecopy.h index 36c3697605..8db2147a7c 100644 --- a/sysdeps/mach/pagecopy.h +++ b/sysdeps/mach/pagecopy.h @@ -30,6 +30,3 @@ (vm_address_t) dstp) == KERN_SUCCESS \ ? trunc_page (nbytes) \ : 0))) - -/* Get the generic macro. */ -#include <sysdeps/generic/pagecopy.h> |