]> git.saurik.com Git - wxWidgets.git/commitdiff
ifdef pi which is already defined by Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 11 Apr 2001 06:18:08 +0000 (06:18 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 11 Apr 2001 06:18:08 +0000 (06:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/matrix.cpp

index 5fb66240868ad54339af30def6178d80371230b7..a19d8ea477c0f1a8b7a43152574fb5958a9534ce 100644 (file)
@@ -29,7 +29,9 @@
 #include "wx/matrix.h"
 #include <math.h>
 
+#if ! (defined(__WXMAC__) && defined(__UNIX__))
 const double pi = 3.1415926535;
+#endif
 
 wxTransformMatrix::wxTransformMatrix(void)
 {