From 99f8dc922033821edcc13f9f8360e9fda40dfcff Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 3 Jul 2014 01:28:45 +0530 Subject: 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. --- sysdeps/mach/pagecopy.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'sysdeps/mach') 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 -- cgit 1.4.1