Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. (#7036)
* remove msc<1800
This commit is contained in:
@@ -51,12 +51,7 @@ namespace bp = boost::placeholders;
|
||||
#endif
|
||||
|
||||
|
||||
#if _MSC_VER <= 1700
|
||||
// maybe in the c++ standard later, older compiler don't have round()
|
||||
double round(double r) {
|
||||
return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5);
|
||||
}
|
||||
#endif // _MSC_VER < 1500
|
||||
|
||||
|
||||
void pagesize(string & page_template, int dims[4], int block[4])
|
||||
{
|
||||
|
||||
@@ -70,12 +70,7 @@
|
||||
|
||||
using namespace Fem;
|
||||
|
||||
// maybe in the c++ standard later, older compiler don't have round()
|
||||
#if _MSC_VER <= 1700
|
||||
double round(double r) {
|
||||
return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#if OCC_VERSION_HEX >= 0x070600
|
||||
using Adaptor3d_HSurface = Adaptor3d_Surface;
|
||||
|
||||
@@ -60,15 +60,8 @@ typedef long long Integer64;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
// Microsoft Visual C++ specific pragmas. MSVC6 is version 12.00, MSVC7.0 is
|
||||
// version 13.00, and MSVC7.1 is version 13.10. MSVC8.0 is version 14.00.
|
||||
#if _MSC_VER < 1300
|
||||
#define WM4_USING_VC6
|
||||
#elif _MSC_VER < 1310
|
||||
#define WM4_USING_VC70
|
||||
#elif _MSC_VER < 1400
|
||||
#define WM4_USING_VC71
|
||||
#else
|
||||
// Microsoft Visual C++ specific pragmas.
|
||||
#if _MSC_VER
|
||||
#define WM4_USING_VC80
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user