From: ski Date: Fri, 30 May 2014 07:45:30 +0000 (+0400) Subject: Some includes were replaced under the preprocessor directives. X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=b8e2928b32684106464a0006251fc3d5351837db;p=occt-copy.git Some includes were replaced under the preprocessor directives. --- diff --git a/src/ChFiKPart/ChFiKPart_ComputeData_CS.hxx b/src/ChFiKPart/ChFiKPart_ComputeData_CS.hxx index 9407c69fd0..429aa5242c 100644 --- a/src/ChFiKPart/ChFiKPart_ComputeData_CS.hxx +++ b/src/ChFiKPart/ChFiKPart_ComputeData_CS.hxx @@ -14,15 +14,14 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#ifndef ChFiKPart_ComputeData_CS_HeaderFile +#define ChFiKPart_ComputeData_CS_HeaderFile + #include #include #include #include -#ifndef ChFiKPart_ComputeData_CS_HeaderFile -#define ChFiKPart_ComputeData_CS_HeaderFile - - void ChFiKPart_CornerSpine(const Handle(Adaptor3d_HSurface)& S1, const Handle(Adaptor3d_HSurface)& S2, const gp_Pnt2d& P1S1, diff --git a/src/Convert/Convert_CosAndSinEvalFunction.hxx b/src/Convert/Convert_CosAndSinEvalFunction.hxx index a73b3c9e59..1bb2a33d21 100644 --- a/src/Convert/Convert_CosAndSinEvalFunction.hxx +++ b/src/Convert/Convert_CosAndSinEvalFunction.hxx @@ -14,13 +14,13 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#ifndef Convert_CosAndSinEvalFunction_HeaderFile +#define Convert_CosAndSinEvalFunction_HeaderFile + #include #include #include -#ifndef Convert_CosAndSinEvalFunction_HeaderFile -#define Convert_CosAndSinEvalFunction_HeaderFile - typedef void Convert_CosAndSinEvalFunction(Standard_Real, const Standard_Integer, const TColgp_Array1OfPnt2d&, diff --git a/src/Convert/Convert_PolynomialCosAndSin.hxx b/src/Convert/Convert_PolynomialCosAndSin.hxx index b18d1e2a64..4b864ed029 100644 --- a/src/Convert/Convert_PolynomialCosAndSin.hxx +++ b/src/Convert/Convert_PolynomialCosAndSin.hxx @@ -14,12 +14,12 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#include -#include - #ifndef Convert_PolynomialCosAndSin_HeaderFile #define Convert_PolynomialCosAndSin_HeaderFile +#include +#include + void BuildPolynomialCosAndSin (const Standard_Real, const Standard_Real,