]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/matrix.cpp
wxBitmap compilation fix for BCC enforced typecast in resource.cpp
[wxWidgets.git] / 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)
 {