summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Glob.hxx.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-10 17:09:24 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-10 17:09:24 (GMT)
commit5999a81bcdd22f206255fa209e2c211bce88555b (patch)
tree87898599276d6a861f5813aca7b2f9ab14765884 /Source/kwsys/Glob.hxx.in
parent33c891f8d8e43dcd4e16b81861d29fc3b198819e (diff)
downloadCMake-5999a81bcdd22f206255fa209e2c211bce88555b.zip
CMake-5999a81bcdd22f206255fa209e2c211bce88555b.tar.gz
CMake-5999a81bcdd22f206255fa209e2c211bce88555b.tar.bz2
COMP: Fix the exporting so that it can actually be used
Diffstat (limited to 'Source/kwsys/Glob.hxx.in')
-rw-r--r--Source/kwsys/Glob.hxx.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/kwsys/Glob.hxx.in b/Source/kwsys/Glob.hxx.in
index d425039..67d4bde 100644
--- a/Source/kwsys/Glob.hxx.in
+++ b/Source/kwsys/Glob.hxx.in
@@ -14,10 +14,16 @@
#ifndef @KWSYS_NAMESPACE@_Glob_hxx
#define @KWSYS_NAMESPACE@_Glob_hxx
+#include <@KWSYS_NAMESPACE@/Configure.h>
+#include <@KWSYS_NAMESPACE@/Configure.hxx>
+
#include <@KWSYS_NAMESPACE@/stl/string>
#include <@KWSYS_NAMESPACE@/stl/vector>
-#include <@KWSYS_NAMESPACE@/Configure.h>
+/* Define this macro temporarily to keep the code readable. */
+#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# define kwsys_stl @KWSYS_NAMESPACE@_stl
+#endif
namespace @KWSYS_NAMESPACE@
{