Browse Source

COMP: Fix the exporting so that it can actually be used

Andy Cedilnik 20 years ago
parent
commit
5999a81bcd
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Source/kwsys/Glob.hxx.in

+ 7 - 1
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@
 {