]> source.dussan.org Git - tigervnc.git/commitdiff
MinGW tweak. baseClass is defined in MsgWindow.cxx as well. Needs to
authorPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 10:41:59 +0000 (10:41 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 10:41:59 +0000 (10:41 +0000)
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

win/vncviewer/DesktopWindow.cxx

index 296be6627c39b940b9d9fc77cdbc0f86bf615460..e282a283679cccffb4efec959cbd187b4eb30bc1 100644 (file)
@@ -111,7 +111,7 @@ DesktopWindowClass::~DesktopWindowClass() {
   }
 }
 
-DesktopWindowClass baseClass;
+static DesktopWindowClass baseClass;
 
 //
 // -=- FrameClass