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)
/* 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