From cbc3b26165f18fbcf9e41b493541ed0a8035bc37 Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Wed, 11 Oct 2006 13:25:47 +0000 Subject: [PATCH] elif-missing-defined-20061011 FIXES 42321 add missing defined() to avoid warning on macro --- src/afs/afs_syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_syscall.c b/src/afs/afs_syscall.c index 32ba47e564..ae17aa638c 100644 --- a/src/afs/afs_syscall.c +++ b/src/afs/afs_syscall.c @@ -100,7 +100,7 @@ copyin_afs_ioctl(caddr_t cmarg, struct afs_ioctl *dst) #ifdef AFS_SPARC64_LINUX26_ENV if (test_thread_flag(TIF_32BIT)) -#elif AFS_SPARC64_LINUX24_ENV +#elif defined(AFS_SPARC64_LINUX24_ENV) if (current->thread.flags & SPARC_FLAG_32BIT) #elif defined(AFS_SPARC64_LINUX20_ENV) if (current->tss.flags & SPARC_FLAG_32BIT) @@ -367,7 +367,7 @@ copyin_iparam(caddr_t cmarg, struct iparam *dst) #ifdef AFS_SPARC64_LINUX26_ENV if (test_thread_flag(TIF_32BIT)) -#elif AFS_SPARC64_LINUX24_ENV +#elif defined(AFS_SPARC64_LINUX24_ENV) if (current->thread.flags & SPARC_FLAG_32BIT) #elif defined(AFS_SPARC64_LINUX20_ENV) if (current->tss.flags & SPARC_FLAG_32BIT)