]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Define "public" structure members as "c_public" in C includes in
authorAdam Tkac <atkac@redhat.com>
Thu, 12 Nov 2009 10:38:13 +0000 (10:38 +0000)
committerAdam Tkac <atkac@redhat.com>
Thu, 12 Nov 2009 10:38:13 +0000 (10:38 +0000)
vncExtInit.cc (alan dot coopersmith at sun dot com)

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3920 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/vncExtInit.cc

index a15a77b40aab90ed28d626a6d533ca191be57534..0364adc4720c0e16bf142d14b1426b3323e6aaf2 100644 (file)
@@ -24,6 +24,7 @@
 
 extern "C" {
 #define class c_class
+#define public c_public
 #define NEED_EVENTS
 #include <X11/X.h>
 #include <X11/Xproto.h>
@@ -38,6 +39,7 @@ extern "C" {
 #include "vncExt.h"
 #undef class
 #undef xalloc
+#undef public
 }
 
 #include <rfb/Configuration.h>