mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -26,7 +26,7 @@
|
||||
#include <Expr_Division.hxx>
|
||||
|
||||
#ifndef __Expr_API
|
||||
# if defined(WNT) && !defined(HAVE_NO_DLL)
|
||||
# if defined(_WIN32) && !defined(HAVE_NO_DLL)
|
||||
# ifdef __Expr_DLL
|
||||
# define __Expr_API __declspec( dllexport )
|
||||
# else
|
||||
@@ -34,7 +34,7 @@
|
||||
# endif // __Expr_DLL
|
||||
# else
|
||||
# define __Expr_API
|
||||
# endif // WNT
|
||||
# endif // _WIN32
|
||||
#endif // __Expr_API
|
||||
|
||||
//__Expr_API Handle(Expr_Sum) operator+(const Handle(Expr_GeneralExpression)& x,const Handle(Expr_GeneralExpression)& y);
|
||||
|
Reference in New Issue
Block a user