Salome HOME
patch for incorrect compilation
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_HAlgo.hxx
index 85ca5e7ccdbc2a1488ac2acf57e0c428df5f7564..e1d1f02a49beb7acfffe4dec372be4ce87da42ad 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -34,6 +34,8 @@
 #include <Standard_Integer.hxx>
 #include <MMgt_TShared.hxx>
 
+#include <Basics_OCCTVersion.hxx>
+
 DEFINE_STANDARD_HANDLE(GEOMAlgo_HAlgo, MMgt_TShared);
 
 //=======================================================================
@@ -58,7 +60,7 @@ class GEOMAlgo_HAlgo : public MMgt_TShared
   Standard_EXPORT
     Standard_Integer WarningStatus() const;
 
-  DEFINE_STANDARD_RTTI(GEOMAlgo_HAlgo);
+  OCCT_DEFINE_STANDARD_RTTIEXT(GEOMAlgo_HAlgo,MMgt_TShared)
 
  protected:
   Standard_EXPORT