diff --git a/Source/kwsys/Glob.hxx.in b/Source/kwsys/Glob.hxx.in index 6bb740daf3..ad9961dc12 100644 --- a/Source/kwsys/Glob.hxx.in +++ b/Source/kwsys/Glob.hxx.in @@ -94,4 +94,9 @@ protected: } // namespace @KWSYS_NAMESPACE@ +/* Undefine temporary macro. */ +#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS +# undef kwsys_stl +#endif + #endif