DEVEL15-elif-missing-defined-20061011

FIXES 42321

add missing defined() to avoid warning on macro


(cherry picked from commit cbc3b26165f18fbcf9e41b493541ed0a8035bc37)
This commit is contained in:
Chaskiel M Grundman 2006-10-11 13:27:18 +00:00 committed by Derrick Brashear
parent 44c4045c29
commit c4897e29fe

View File

@ -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)