[OpenAFS-devel] New entry for header file!?
Alf Wachsmann
alfw@SLAC.Stanford.EDU
Mon, 06 Aug 2001 14:46:57 -0700 (PDT)
Hi,
now that OpenAFS has more functions then IBM's AFS (fs {s,g}etcrypt),
I would like to suggest a new entry for (e.g.)
/usr/afsws/include/afs/afs.h which would allows me to distinguish
between the two version. Something like:
#define OPENAFS 1
My C code then could have:
#include "afs.h"
#ifdef OPENAFS
/* do something */
#else
/* do something else */
#endif
-- Alf.
-----------------------------------------------------------------------
Alf Wachsmann | e-mail: alfw@slac.stanford.edu
SLAC Computing Service | Phone: +1-650-926-4802
2575 Sand Hill Road, M/S 97 | FAX: +1-650-926-3329
Menlo Park, CA 94025, USA | Office: Bldg. 50/323
-----------------------------------------------------------------------
http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------