]> source.dussan.org Git - tigervnc.git/commitdiff
Fix compilation issues with gcc 3.4 (patch from George Wright - <gwright cendio se>)
authorAdam Tkac <atkac@redhat.com>
Tue, 29 Jul 2008 12:40:32 +0000 (12:40 +0000)
committerAdam Tkac <atkac@redhat.com>
Tue, 29 Jul 2008 12:40:32 +0000 (12:40 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2631 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/XserverDesktop.h
unix/xserver/hw/vnc/vncHooks.cc

index 522a94c331ac61bca7ad05f25804a0e2c4df2ab4..5dbf7ffa57a49ab3f58f3cea431508243a95460c 100644 (file)
@@ -34,7 +34,7 @@
 #include <rdr/SubstitutingInStream.h>
 
 extern "C" {
-#define class c_class;
+#define class c_class
 #include <scrnintstr.h>
 #include <os.h>
 #undef class
index e83d1e76fe95cb270a4ffae6599b68bf80311526..1ba109193869e3893465daba6660b9c7e3091115 100644 (file)
@@ -27,6 +27,7 @@
 extern "C" {
 #define class c_class
 #define private c_private
+#define public c_public
 #include "scrnintstr.h"
 #include "windowstr.h"
 #include "gcstruct.h"
@@ -47,6 +48,7 @@ extern "C" {
 
 #undef class
 #undef private
+#undef public
 }
 
 #include "RegionHelper.h"