From: srit Date: Thu, 18 Feb 2010 22:52:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v1.2.0~805 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=65a15cf5b1346d8e16727282aa3eed18d2e76451;p=clitk.git *** empty log message *** --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b93d26..164b7d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") ENDIF(CMAKE_COMPILER_IS_GNUCXX) IF(MSVC) - ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS) + ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS) ENDIF(MSVC) #========================================================= # Find ITK (required) diff --git a/common/clitkXdrImageIOWriter.cxx b/common/clitkXdrImageIOWriter.cxx index 6a5f398..70ef6aa 100755 --- a/common/clitkXdrImageIOWriter.cxx +++ b/common/clitkXdrImageIOWriter.cxx @@ -340,21 +340,6 @@ Release 1.0 19980212 Lambert Zijp XDR writer & RAW writer /* DEFINES, ENUMERATED TYPES AND CONSTANTS */ /************************************************************************/ -//#undef fileno -//#define fileno _fileno -// -//#undef close -//#define close _close -// -//#undef open -//#define open _open -// -//#undef lseek -//#define lseek _lseek -// -//#undef creat -//#define creat _creat -// #pragma pack (1) // Fields with data size>8GB (having UINT_MAX short pixels) cannot be compressed using