From e4a09edfe18953a23f2655101eb52cbf3d8557b2 Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Fri, 28 Oct 2011 17:47:35 -0500 Subject: [PATCH] COMP: Undefined preprocessor variable. When investigating the following compiler remark: Zero used for undefined preprocessing identifier "ITK_MINOR_VERSION" This was the only instance of this reference, it it should have been "ITK_VERSION_MINOR". Change-Id: I74cdd9f5c4c22e8be8abc703d213eb72bc1bceb4 --- Modules/Core/Common/include/itkVersion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Core/Common/include/itkVersion.h b/Modules/Core/Common/include/itkVersion.h index f1d9e20bf85..e43cde8304c 100644 --- a/Modules/Core/Common/include/itkVersion.h +++ b/Modules/Core/Common/include/itkVersion.h @@ -37,7 +37,7 @@ ITK_VERSION_TO_STRING(ITK_VERSION_MAJOR) "." \ ITK_VERSION_TO_STRING(ITK_VERSION_MINOR) "." \ ITK_VERSION_TO_STRING(ITK_VERSION_PATCH) -#if ITK_MINOR_VERSION & 1 +#if ITK_VERSION_MINOR & 1 #include "itksys/DateStamp.h" // For date stamp #define ITK_SOURCE_VERSION "itk version " ITK_VERSION ", Date: " itksys_DATE_STAMP_STRING #else