From: Adam Tkac Date: Thu, 12 Nov 2009 10:38:13 +0000 (+0000) Subject: [Bugfix] Define "public" structure members as "c_public" in C includes in X-Git-Tag: v1.0.90~373 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=881b77c7e7febe4a32cd4ffb72213766b325ff36;p=tigervnc.git [Bugfix] Define "public" structure members as "c_public" in C includes in vncExtInit.cc (alan dot coopersmith at sun dot com) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3920 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/xserver/hw/vnc/vncExtInit.cc b/unix/xserver/hw/vnc/vncExtInit.cc index a15a77b4..0364adc4 100644 --- a/unix/xserver/hw/vnc/vncExtInit.cc +++ b/unix/xserver/hw/vnc/vncExtInit.cc @@ -24,6 +24,7 @@ extern "C" { #define class c_class +#define public c_public #define NEED_EVENTS #include #include @@ -38,6 +39,7 @@ extern "C" { #include "vncExt.h" #undef class #undef xalloc +#undef public } #include