From 8da78710bc24b39f39f586b76395fe14660099e0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 14 Dec 2003 13:44:20 -0500 Subject: ENH: Added KWSYS_NAMESPACE_STRING macro. --- Source/kwsys/kwsysPrivate.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/kwsys/kwsysPrivate.h b/Source/kwsys/kwsysPrivate.h index 94f8b4e..e43280d 100644 --- a/Source/kwsys/kwsysPrivate.h +++ b/Source/kwsys/kwsysPrivate.h @@ -33,6 +33,14 @@ #define KWSYS_HEADER0(x) KWSYS_HEADER1(x) #define KWSYS_HEADER1(x) +/* + Define KWSYS_NAMESPACE_STRING to be a string constant containing the + name configured for this instance of the kwsys library. +*/ +#define KWSYS_NAMESPACE_STRING KWSYS_NAMESPACE_STRING0(KWSYS_NAMESPACE) +#define KWSYS_NAMESPACE_STRING0(x) KWSYS_NAMESPACE_STRING1(x) +#define KWSYS_NAMESPACE_STRING1(x) #x + #else # error "kwsysPrivate.h included multiple times." #endif -- cgit v0.12