diff --git a/Modules/OpenCL/mitkOpenCL.h b/Modules/OpenCL/mitkOpenCL.h index a0147b238b..d2131a3455 100644 --- a/Modules/OpenCL/mitkOpenCL.h +++ b/Modules/OpenCL/mitkOpenCL.h @@ -1,26 +1,27 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef MITKOPENCL_H_HEADER_INCLUDED #define MITKOPENCL_H_HEADER_INCLUDED #if defined (__APPLE__) || defined(MACOSX) #include #else +#define CL_USE_DEPRECATED_OPENCL_1_2_APIS #include #endif #endif /* MITKOPENCL_H_HEADER_INCLUDED */