]> git.saurik.com Git - wxWidgets.git/commitdiff
pi is static to avoid link error under Mac OS X (already defined by system lib)
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 8 May 2002 12:32:08 +0000 (12:32 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 8 May 2002 12:32:08 +0000 (12:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/canvas/canvas.cpp

index 0cedafc9468083b60472beab11888461ed896c12..5cced6380979e0e65a58387d3a7b7d7f51774794 100644 (file)
@@ -41,7 +41,7 @@
 // globals
 //----------------------------------------------------------------------------
 
-const double pi = 3.1415926535;
+static const double pi = 3.1415926535;
 
 #if wxUSE_FREETYPE
 FT_Library g_freetypeLibrary;