[OpenAFS] Max and min macros with kernel 2.4.9
   
    Dr A V Le Blanc
     
    Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
       
    Fri, 17 Aug 2001 11:35:15 +0100
    
    
  
I ran into a problem compiling openafs-1.1.1 with linux kernel
2.4.9: the include/linux/kernel.h file contains definitions of
max and min with three arguments, which causes problems in
src/afs/afs_server.c and src/rxkad/rxkad_common.c; I was able
to solve this by deleting the '#ifndef min' and '#ifndef max'
at lines 975 and 62 respectively in these files; this generated
a harmless warning message.  (Namespace pollution.)
     -- Owen
     LeBlanc@mcc.ac.uk