mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -377,6 +377,6 @@ namespace {
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifdef WNT
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning ( default : 4101 )
|
||||
#endif
|
||||
|
@@ -1545,6 +1545,6 @@ Standard_Integer AdaptiveDiscret (const Standard_Integer iDiscret,
|
||||
}
|
||||
|
||||
|
||||
#ifdef WNT
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning ( default : 4101 )
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user