1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)

This commit is contained in:
DBV
2011-12-16 08:50:03 +00:00
committed by bugmaster
parent bc650d4170
commit c6541a0c86
438 changed files with 2142 additions and 2188 deletions

View File

@@ -298,7 +298,7 @@ void WNT_DDriver::BeginDraw()
Quantity_Length width, height;
WorkSpace (width, height);
if (myFlags & FLAG_ROTATE) {
a -> myAngle = Standard_PI / 2;
a -> myAngle = M_PI / 2;
a -> myPivot.x = Convert (height / 2);
a -> myPivot.y = Convert (width / 2);
a -> myMove.x =

View File

@@ -15,7 +15,6 @@
#include <WNT_Bitmap.h>
#define M_PI 3.1415
#define TRASH_SIZE 8
#define PWND ( ( WNT_WindowPtr )myWindow )