#if defined(unix) || defined(__APPLE__)
# include <sys/time.h>
# include <sys/resource.h>
-#elif defined(WIN32)
+#elif defined(_WIN32)
# include <windows.h>
+# include <stdint.h>
#endif
-#if ITK_VERSION_MAJOR < 4
-namespace itk
-{
- typedef unsigned int ThreadIdType;
-}
-#endif
+#define VTK_EXCLUDE_STRSTREAM_HEADERS
//--------------------------------------------------------------------
namespace clitk {
template <typename M, typename V>
void MapToVecSecond(const M & m, V & v);
+ //--------------------------------------------------------------------
+ // Find/replace string
+ template<class T>
+ int inline findAndReplace(T& source, const T& find, const T& replace);
+
#include "clitkCommon.txx"
} // end namespace