X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkPortability.h;h=7fae01ec9916e31e303465a95685e7fa46d9b0db;hb=e3fcfe79cca98e294b4b80939d7f67fb6a3b88a8;hp=1ab74f90fa056233b39cbd76f6c362d0cd0af417;hpb=08d1fd56ac1d08bd228d9e557f5472a395e9b708;p=clitk.git diff --git a/common/clitkPortability.h b/common/clitkPortability.h index 1ab74f9..7fae01e 100644 --- a/common/clitkPortability.h +++ b/common/clitkPortability.h @@ -36,4 +36,9 @@ int IsNormal(const T val) { #endif } +#if defined(_MSC_VER) +# include +# define mkstemp(x) _mktemp_s(x, sizeof(x)) +#endif + #endif /* end #define CLITKPORTABILITY_H */