summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.hxx.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-30 16:17:36 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-30 16:17:36 (GMT)
commitc4093afc52967c987f0cd2947949899642db977b (patch)
treefc180b4f3276461339435fef3e47dbfead203932 /Source/kwsys/SystemInformation.hxx.in
parent45d0dd13444a8f07d90004ca8ebefdc18498ed62 (diff)
downloadCMake-c4093afc52967c987f0cd2947949899642db977b.zip
CMake-c4093afc52967c987f0cd2947949899642db977b.tar.gz
CMake-c4093afc52967c987f0cd2947949899642db977b.tar.bz2
ENH: enhancements for cdash, include system information and better time entries
Diffstat (limited to 'Source/kwsys/SystemInformation.hxx.in')
-rw-r--r--Source/kwsys/SystemInformation.hxx.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/kwsys/SystemInformation.hxx.in b/Source/kwsys/SystemInformation.hxx.in
index 4894cca..36eb547 100644
--- a/Source/kwsys/SystemInformation.hxx.in
+++ b/Source/kwsys/SystemInformation.hxx.in
@@ -107,6 +107,11 @@
//# error "No Long long"
#endif
+/* Define these macros temporarily to keep the code readable. */
+#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# define kwsys_stl @KWSYS_NAMESPACE@_stl
+# define kwsys_ios @KWSYS_NAMESPACE@_ios
+#endif
#include <@KWSYS_NAMESPACE@/stl/string>
#include <@KWSYS_NAMESPACE@/stl/vector>
@@ -294,4 +299,11 @@ protected:
std::string OSPlatform;
};
} // namespace @KWSYS_NAMESPACE@
+
+/* Undefine temporary macros. */
+#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# undef kwsys_stl
+# undef kwsys_ios
+#endif
+
#endif