[OpenAFS-devel] Re: [PATCH] fix for macro redefinition warnings

Joe Buehler jbuehler@hekimian.com
Fri, 14 Nov 2003 10:31:36 -0500


Joe Buehler wrote:

> --- ./src/WINNT/afsd/cm_config.c    4 Nov 2002 20:43:50 -0000    1.7
> +++ ./src/WINNT/afsd/cm_config.c    14 Nov 2003 14:18:00 -0000
> @@ -33,7 +33,9 @@
>  #define AFS_THISCELL "ThisCell"
>  #define AFS_CELLSERVDB_UNIX "CellServDB"
>  #define AFS_CELLSERVDB_NT "afsdcell.ini"
> +#ifndef AFSDIR_CLIENT_ETC_DIRPATH
>  #define AFSDIR_CLIENT_ETC_DIRPATH "c:/afs"
> +#endif
>  #if defined(DJGPP) || defined(AFS_WIN95_ENV)
>  #define AFS_CELLSERVDB AFS_CELLSERVDB_UNIX
>  #ifdef DJGPP

The problem with this patch is that it introduces a dependency on an
AFS library for libafsconf.dll.  Since libafsconf.dll depends on
system libraries only at present, this patch may not be a good idea.
-- 
Joe Buehler