0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
authorakz <akz@opencascade.com>
Tue, 15 Sep 2015 14:46:43 +0000 (17:46 +0300)
committerkgv <kgv@opencascade.com>
Thu, 24 Sep 2015 11:13:06 +0000 (14:13 +0300)
commit57c28b612224e383656c8aab16d6b3401dcdcd12
treedba82795752bf6507daec497bd2264eecb75104b
parent28a73c1fe7983f1f7d737152d3336df1f17a664a
0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and so on)

1) Macro definition WNT replaced by _WIN32 and _MSC_VER for platform and compiler detection accordingly.
2) Macro definition LIN replaced by __linux__ macro.
3) Macro definition DEB replaced by OCCT_DEBUG macro.
180 files changed:
adm/CMPLRS
adm/cmake/occt_defs_flags.cmake
adm/genproj.tcl
adm/templates/template.vc10
adm/templates/template.vc10x
adm/templates/template.vc7
adm/templates/template.vc7x
adm/templates/template.vc8
adm/templates/template.vc8x
adm/templates/template.vc9
adm/templates/template.vc9x
src/AppBlend/AppBlend_Debug.cxx
src/AppCont/AppCont_ContMatrices.hxx
src/AppDef/AppDef_Variational.cxx
src/Aspect/Aspect_Drawable.hxx
src/Aspect/Aspect_Handle.hxx
src/Aspect/Aspect_XWD.hxx
src/BOPDS/BOPDS_PassKey.cxx
src/BOPDS/BOPDS_PaveBlock.cxx
src/BRepCheck/BRepCheck_Wire.cxx
src/BRepMesh/BRepMesh_Delaun.cxx
src/BRepMesh/BRepMesh_DiscretFactory.cxx
src/BRepTest/BRepTest_BasicCommands.cxx
src/BRepTest/BRepTest_CurveCommands.cxx
src/BRepTest/BRepTest_ExtremaCommands.cxx
src/BRepTest/BRepTest_GPropCommands.cxx
src/BRepTest/BRepTest_MatCommands.cxx
src/BRepTest/BRepTest_ProjectionCommands.cxx
src/BRepTest/BRepTest_SweepCommands.cxx
src/BRepTools/BRepTools_ShapeSet.cxx
src/BRepTopAdaptor/BRepTopAdaptor_FClass2d.cxx
src/Blend/Blend_Debug.cxx
src/Bnd/Bnd_BoundSortBox.cxx
src/CDF/CDF_FWOSDriver.cxx
src/CDF/CDF_Store.cxx
src/DBRep/DBRep_DrawableShape.cxx
src/DDF/DDF_BrowserCommands.cxx
src/DDF/DDF_IOStream.hxx
src/DDataStd/DDataStd_BasicCommands.cxx
src/DDataStd/DDataStd_DrawDisplayCommands.cxx
src/DDataStd/DDataStd_DrawPresentation.cxx
src/DNaming/DNaming_BasicCommands.cxx
src/DNaming/DNaming_ModelingCommands.cxx
src/DNaming/DNaming_TransformationDriver.cxx
src/DPrsStd/DPrsStd.cxx
src/Draw/COMMANDWINDOW.h
src/Draw/CommandWindow.cxx
src/Draw/Draw.cxx
src/Draw/DrawRessource.h
src/Draw/Draw_Appli.hxx
src/Draw/Draw_Grid.cxx
src/Draw/Draw_Interpretor.cxx
src/Draw/Draw_Main.cxx
src/Draw/Draw_Main.hxx
src/Draw/Draw_Viewer.cxx
src/Draw/Draw_Viewer.hxx
src/Draw/Draw_Window.cxx
src/Draw/MAINWINDOW.h
src/Draw/MainWindow.cxx
src/Draw/init.cxx
src/Draw/init.h
src/DrawDim/DrawDim.cxx
src/DrawDim/DrawDim_PlanarDimensionCommands.cxx
src/DrawTrSurf/DrawTrSurf_Triangulation.cxx
src/DrawTrSurf/DrawTrSurf_Triangulation2D.cxx
src/DsgPrs/DsgPrs_FilletRadiusPresentation.cxx
src/Expr/Expr_Operators.hxx
src/ExprIntrp/ExprIntrp_yaccanal.hxx
src/ExprIntrp/ExprIntrp_yacclex.cxx
src/ExprIntrp/lex.ExprIntrp.c
src/GeomToIGES/GeomToIGES_GeomSurface.cxx
src/GeometryTest/GeometryTest_API2dCommands.cxx
src/GeometryTest/GeometryTest_APICommands.cxx
src/GeometryTest/GeometryTest_ConstraintCommands.cxx
src/GeometryTest/GeometryTest_CurveCommands.cxx
src/GeometryTest/GeometryTest_PolyCommands.cxx
src/GeometryTest/GeometryTest_SurfaceCommands.cxx
src/GeometryTest/GeometryTest_TestProjCommands.cxx
src/GeomliteTest/GeomliteTest_API2dCommands.cxx
src/GeomliteTest/GeomliteTest_ApproxCommands.cxx
src/GeomliteTest/GeomliteTest_CurveCommands.cxx
src/GeomliteTest/GeomliteTest_ModificationCommands.cxx
src/GeomliteTest/GeomliteTest_SurfaceCommands.cxx
src/HLRTest/HLRTest.cxx
src/IGESToBRep/IGESToBRep_Reader.cxx
src/IntImp/IntImp_ComputeTangence.hxx
src/IntTools/IntTools.cxx
src/IntTools/IntTools_EdgeFace.cxx
src/Interface/Interface_CheckTool.cxx
src/Interface/Interface_FileReaderTool.cxx
src/LDOM/LDOMBasicString.cxx
src/LDOM/LDOMParser.cxx
src/LDOM/LDOM_BasicNode.cxx
src/LDOM/LDOM_XmlReader.cxx
src/LDOM/LDOM_XmlWriter.cxx
src/MAT2d/MAT2d_MapBiIntHasher.lxx
src/MeshTest/MeshTest.cxx
src/MeshVS/MeshVS_TextPrsBuilder.cxx
src/Message/Message_MsgFile.cxx
src/OSD/OSD.cxx
src/OSD/OSD_Chronometer.cxx
src/OSD/OSD_Directory.cxx
src/OSD/OSD_DirectoryIterator.cxx
src/OSD/OSD_Environment.cxx
src/OSD/OSD_Error.cxx
src/OSD/OSD_FileIterator.cxx
src/OSD/OSD_Host.cxx
src/OSD/OSD_MAllocHook.cxx
src/OSD/OSD_PThread.hxx
src/OSD/OSD_Path.cxx
src/OSD/OSD_Printer.cxx
src/OSD/OSD_Process.cxx
src/OSD/OSD_Protection.cxx
src/OSD/OSD_SharedLibrary.cxx
src/OSD/OSD_Thread.cxx
src/OSD/OSD_ThreadFunction.hxx
src/OSD/OSD_Timer.cxx
src/OSD/OSD_WNT.cxx
src/OSD/OSD_WNT_BREAK.hxx
src/OSD/OSD_signal.cxx
src/OSD/OSD_signal_WNT.cxx
src/OpenGl/OpenGl_AVIWriter.hxx
src/OpenGl/OpenGl_Window.cxx
src/PCDM/PCDM_ReadWriter_1.cxx
src/PCDM/PCDM_ReferenceIterator.cxx
src/Plugin/Plugin.cxx
src/Poly/Poly_CoherentNode.cxx
src/Poly/Poly_CoherentTriPtr.hxx
src/QABugs/QABugs_1.cxx
src/QABugs/QABugs_16.cxx
src/QABugs/QABugs_19.cxx
src/QABugs/QABugs_3.cxx
src/QABugs/QABugs_9.cxx
src/QADNaming/QADNaming_BasicCommands.cxx
src/Quantity/Quantity_Convert.lxx
src/STEPConstruct/STEPConstruct_AP203Context.cxx
src/Standard/Standard_ErrorHandler.cxx
src/Standard/Standard_MMgrOpt.cxx
src/Standard/Standard_MMgrTBBalloc.cxx
src/Standard/Standard_Macro.hxx
src/Standard/Standard_ThreadId.hxx
src/Standard/Standard_UUID.hxx
src/Standard/Standard_values.h
src/StepFile/lex.step.c
src/StepFile/step.tab.c
src/TDF/TDF_LabelMapHasher.lxx
src/TDataStd/TDataStd_NamedData.cxx
src/TDocStd/TDocStd_PathParser.cxx
src/TNaming/TNaming_Localizer.cxx
src/TNaming/TNaming_NamingTool.cxx
src/TNaming/TNaming_Selector.cxx
src/TObj/TObj_Model.cxx
src/TObjDRAW/TObjDRAW.cxx
src/TestTopOpe/TestTopOpe.cxx
src/TestTopOpe/TestTopOpe_BOOP.cxx
src/TestTopOpe/TestTopOpe_MesureCommands.cxx
src/TestTopOpeDraw/TestTopOpeDraw_Displayer.cxx
src/TopExp/TopExp_Explorer.cxx
src/TopOpeBRep/TopOpeBRep.cxx
src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
src/Units/Units_Lexicon.cxx
src/UnitsAPI/UnitsAPI.cxx
src/V3d/V3d_View_Print.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/VrmlData/VrmlData_Geometry.cxx
src/VrmlData/VrmlData_Group.cxx
src/VrmlData/VrmlData_IndexedFaceSet.cxx
src/VrmlData/VrmlData_IndexedLineSet.cxx
src/VrmlData/VrmlData_Material.cxx
src/VrmlData/VrmlData_Node.cxx
src/VrmlData/VrmlData_Scene.cxx
src/VrmlData/VrmlData_WorldInfo.cxx
src/XDEDRAW/XDEDRAW.cxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx
src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx
src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx
src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx
src/math/math_FunctionRoots.cxx
src/math/math_Recipes.hxx