]> Creatis software - clitk.git/commitdiff
*** empty log message ***
authorsrit <srit>
Thu, 18 Feb 2010 22:52:09 +0000 (22:52 +0000)
committersrit <srit>
Thu, 18 Feb 2010 22:52:09 +0000 (22:52 +0000)
CMakeLists.txt
common/clitkXdrImageIOWriter.cxx

index 7b93d2632a68d9beccef5e34054154ef04da9ff7..164b7d7a82ec2d9e7143880a1f0828cb96599b75 100644 (file)
@@ -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)
index 6a5f3987d12c6f0b7d9ba4cb7fddd1e2b12cb110..70ef6aa31e54f91a4eeb396581deceff89ee7e85 100755 (executable)
@@ -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