From: Gilles Depeyrot Date: Wed, 8 May 2002 12:32:08 +0000 (+0000) Subject: pi is static to avoid link error under Mac OS X (already defined by system lib) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a66db28a9378ca42cabb856b816390ee0745f2a pi is static to avoid link error under Mac OS X (already defined by system lib) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/canvas/canvas.cpp b/contrib/src/canvas/canvas.cpp index 0cedafc946..5cced63809 100644 --- a/contrib/src/canvas/canvas.cpp +++ b/contrib/src/canvas/canvas.cpp @@ -41,7 +41,7 @@ // globals //---------------------------------------------------------------------------- -const double pi = 3.1415926535; +static const double pi = 3.1415926535; #if wxUSE_FREETYPE FT_Library g_freetypeLibrary;