From: Gilles Depeyrot Date: Wed, 11 Apr 2001 06:18:08 +0000 (+0000) Subject: ifdef pi which is already defined by Mac OS X X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1bc4d9b0130f8fe6e9ce44fb3dd6b8d61088160c?hp=676304331f4060403be162144f340725b1d96bc1 ifdef pi which is already defined by Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 5fb6624086..a19d8ea477 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -29,7 +29,9 @@ #include "wx/matrix.h" #include +#if ! (defined(__WXMAC__) && defined(__UNIX__)) const double pi = 3.1415926535; +#endif wxTransformMatrix::wxTransformMatrix(void) {