X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=2f5b26f1173b3e5e94999816031695c13cb2afc4;hb=97a3a9ed3f33ab0316bd4613c8aae404de40dad1;hp=769ca63f0bf4400cbb783cf53d3bd7b44b3fc293;hpb=d0bf1f6de5086e58c5bbefcee178609763790f61;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 769ca63..2f5b26f 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -38,10 +38,13 @@ #if defined(unix) || defined(__APPLE__) # include # include -#elif defined(WIN32) +#elif defined(_WIN32) # include +# include #endif +#define VTK_EXCLUDE_STRSTREAM_HEADERS + //-------------------------------------------------------------------- namespace clitk { @@ -234,6 +237,11 @@ namespace clitk { template void MapToVecSecond(const M & m, V & v); + //-------------------------------------------------------------------- + // Find/replace string + template + int inline findAndReplace(T& source, const T& find, const T& replace); + #include "clitkCommon.txx" } // end namespace