Skip to content

Commit

Permalink
FIX: backward compatibility with ITK 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit committed Nov 28, 2017
1 parent 34d386d commit 9281310
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/rtkConfiguration.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ namespace rtk
typedef itk::ThreadIdType ThreadIdType;
}

#if ITK_VERSION_MAJOR == 4 && ITK_VERSION_MINOR < 5
namespace itk
{
typedef double SpacePrecisionType;
}
#endif

#ifndef CUDA_FOUND
#cmakedefine CUDA_FOUND
#endif
Expand Down
1 change: 1 addition & 0 deletions code/rtkRayBoxIntersectionFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <itkNumericTraits.h>
#include <vector>
#include <itkImageBase.h>
#include "rtkConfiguration.h"

namespace rtk
{
Expand Down

0 comments on commit 9281310

Please sign in to comment.