Skip to content

Commit 33b09f0

Browse files
committed
Merge pull request #474 from fodinabor/VS2012Fix
Visual Studio 2012 Build was broken - it still didn't support round...
2 parents 4190881 + 439fa2d commit 33b09f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Core/Contents/Include/PolyGlobals.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ THE SOFTWARE.
8686

8787
typedef double Number;
8888

89-
#ifdef _WINDOWS
9089
#ifdef _MSC_VER
91-
#if _MSC_VER<=1600
90+
#if _MSC_VER<=1700
9291

9392
#include <cmath> //cmath for "round / floor"
9493

@@ -97,7 +96,6 @@ inline int round(Number x) {
9796
}
9897
#endif
9998
#endif
100-
#endif
10199

102100
#define RANDOM_NUMBER ((Number)rand()/(Number)RAND_MAX)
103101

0 commit comments

Comments
 (0)