From: Peter Åstrand Date: Tue, 9 Dec 2008 10:41:59 +0000 (+0000) Subject: MinGW tweak. baseClass is defined in MsgWindow.cxx as well. Needs to X-Git-Tag: v0.0.90~336 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f84b0433b6088ade9ed4064b4fba9cb00040f65f;p=tigervnc.git MinGW tweak. baseClass is defined in MsgWindow.cxx as well. Needs to be static, or linking will fail with "multiple definition of _baseClass" error. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3330 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/vncviewer/DesktopWindow.cxx b/win/vncviewer/DesktopWindow.cxx index 296be662..e282a283 100644 --- a/win/vncviewer/DesktopWindow.cxx +++ b/win/vncviewer/DesktopWindow.cxx @@ -111,7 +111,7 @@ DesktopWindowClass::~DesktopWindowClass() { } } -DesktopWindowClass baseClass; +static DesktopWindowClass baseClass; // // -=- FrameClass