mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026787: Do not declare redundant macros WNT, LIN, WIN32, WIN64 within samples project files
Redundant macros were removed. Defines _WIN32, __linux__ and LININTEL were removed from qt samples *.pro files
This commit is contained in:
@@ -15,11 +15,7 @@ static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
#include "GeomSources.h"
|
||||
|
||||
#ifdef WNT
|
||||
#define EOL "\r\n"
|
||||
#else
|
||||
#define EOL "\n"
|
||||
#endif
|
||||
#define EOL "\r\n"
|
||||
|
||||
#define WAIT_A_LITTLE WaitForInput(500)
|
||||
|
||||
|
@@ -16,10 +16,6 @@
|
||||
#include <afxcmn.h> // MFC support for Windows Common Controls
|
||||
#endif // _AFX_NO_AFXCMN_SUPPORT
|
||||
|
||||
#if !defined(WNT)
|
||||
#error WNT precompiler directive is mandatory for CasCade
|
||||
#endif
|
||||
|
||||
#pragma warning( disable : 4244 ) // Issue warning 4244
|
||||
#include "Standard_ShortReal.hxx"
|
||||
#pragma warning( default : 4244 ) // Issue warning 4244
|
||||
|
Reference in New Issue
Block a user