X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=common%2FclitkPortability.h;h=7fae01ec9916e31e303465a95685e7fa46d9b0db;hb=5b0a8467f664b624f7fc0a5020cd7610e8da2c13;hp=1ab74f90fa056233b39cbd76f6c362d0cd0af417;hpb=01efc03d2d7e88c82197f8f500239573c8b67c39;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 */