1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

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.
This commit is contained in:
akz
2015-09-15 17:46:43 +03:00
committed by kgv
parent 28a73c1fe7
commit 57c28b6122
180 changed files with 370 additions and 411 deletions

View File

@@ -53,7 +53,7 @@
#include <gp_Trsf.hxx>
#include <TColStd_HArray1OfInteger.hxx>
//#ifdef WNT
//#ifdef _MSC_VER
#include <stdio.h>
//#endif

View File

@@ -71,7 +71,7 @@
#include <DNaming_SphereDriver.hxx>
#include <DNaming_PointDriver.hxx>
#include <DNaming_Line3DDriver.hxx>
#ifdef WNT
#ifdef _WIN32
#define EXCEPTION ...
#else
#define EXCEPTION Standard_Failure

View File

@@ -53,7 +53,7 @@
#include <TopTools_MapIteratorOfMapOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
#ifdef WNT
#ifdef _WIN32
#define EXCEPTION ...
#else
#define EXCEPTION Standard_Failure