Commit beaf0dac by Alexander Wiebel

[FIX] as we are not yet able to use zlib with MSVC we disable using gz files…

[FIX] as we are not yet able to use zlib with MSVC we disable using gz files here. This should prevent crashing.
parent 720fb4a0
......@@ -155,7 +155,11 @@ void WMData::moduleMain()
// load it now
std::string suffix = getSuffix( fileName );
if( suffix == ".nii" || suffix == ".gz" )
if( suffix == ".nii"
#ifndef _MSC_VER
|| suffix == ".gz"
#endif
)
{
if( suffix == ".gz" ) // it may be a NIfTI file too
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment