From 99b9331a4f693e66f880734cd446190fcf14508d Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Thu, 30 May 2002 07:32:58 +0000 Subject: Check for defined(__i386__) instead of just defined(i386) since the compiler will be updated to only define(__i386__) for ANSI cleanliness. --- sys/security/lomac/kernel_mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/security') diff --git a/sys/security/lomac/kernel_mmap.c b/sys/security/lomac/kernel_mmap.c index 8e5330d3daa1..25e87920d4a6 100644 --- a/sys/security/lomac/kernel_mmap.c +++ b/sys/security/lomac/kernel_mmap.c @@ -207,7 +207,7 @@ mmap(td, uap) /* Address range must be all in user VM space. */ if (VM_MAXUSER_ADDRESS > 0 && addr + size > VM_MAXUSER_ADDRESS) return (EINVAL); -#ifndef i386 +#ifndef __i386__ if (VM_MIN_ADDRESS > 0 && addr < VM_MIN_ADDRESS) return (EINVAL); #endif -- cgit v1.3