summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessWin32Kill.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-05-10 17:10:57 (GMT)
committerBrad King <brad.king@kitware.com>2004-05-10 17:10:57 (GMT)
commit914a9fb3b4fb7ee088f9c0e3ca426ac6628ec6d3 (patch)
treeb2e7ac5e99f5e59af95208cc920eca1ab931dbd7 /Source/kwsys/ProcessWin32Kill.h.in
parent568c9216737fe9005354c074e924d4026c55030d (diff)
downloadCMake-914a9fb3b4fb7ee088f9c0e3ca426ac6628ec6d3.zip
CMake-914a9fb3b4fb7ee088f9c0e3ca426ac6628ec6d3.tar.gz
CMake-914a9fb3b4fb7ee088f9c0e3ca426ac6628ec6d3.tar.bz2
ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time.
Diffstat (limited to 'Source/kwsys/ProcessWin32Kill.h.in')
-rw-r--r--Source/kwsys/ProcessWin32Kill.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/ProcessWin32Kill.h.in b/Source/kwsys/ProcessWin32Kill.h.in
index 0ec15b3..2243600 100644
--- a/Source/kwsys/ProcessWin32Kill.h.in
+++ b/Source/kwsys/ProcessWin32Kill.h.in
@@ -20,9 +20,9 @@
namespace. These macros are used internally to kwsys only, and are
not visible to user code. Use kwsysHeaderDump.pl to reproduce
these macros after making changes to the interface. */
-#define kw_sys(x) @KWSYS_NAMESPACE@##x
+#define kwsys_ns(x) @KWSYS_NAMESPACE@##x
#define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
-#define kwsysProcessWin32Kill kw_sys(ProcessWin32Kill)
+#define kwsysProcessWin32Kill kwsys_ns(ProcessWin32Kill)
#if defined(__cplusplus)
extern "C"
@@ -38,7 +38,7 @@ kwsysEXPORT int kwsysProcessWin32Kill(int pid);
/* If we are building a kwsysProcess .c file, let it use these macros.
Otherwise, undefine them to keep the namespace clean. */
#if !defined(KWSYS_IN_PROCESS_C)
-# undef kwsys
+# undef kwsys_ns
# undef kwsysEXPORT
# undef kwsysProcessWin32Kill
#endif