aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/xf86vncModule.cc
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-02-04 16:42:21 +0000
committerAdam Tkac <atkac@redhat.com>2009-02-04 16:42:21 +0000
commit3ae4500233583fe0be0d30236f979d90403ba2f0 (patch)
tree42057d4ca61dc41c020bcbe42ad8dd384295850c /unix/xserver/hw/vnc/xf86vncModule.cc
parent40bf4efd0553d152acb49653f44bd177133c4e92 (diff)
downloadtigervnc-3ae4500233583fe0be0d30236f979d90403ba2f0.tar.gz
tigervnc-3ae4500233583fe0be0d30236f979d90403ba2f0.zip
[Bugfix] Removed obsolete #ifdef from Xorg module to make it working.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3585 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/xf86vncModule.cc')
-rw-r--r--unix/xserver/hw/vnc/xf86vncModule.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/unix/xserver/hw/vnc/xf86vncModule.cc b/unix/xserver/hw/vnc/xf86vncModule.cc
index fff482fa..e78da5ba 100644
--- a/unix/xserver/hw/vnc/xf86vncModule.cc
+++ b/unix/xserver/hw/vnc/xf86vncModule.cc
@@ -43,8 +43,6 @@ using namespace rfb;
extern void vncExtensionInit();
static void vncExtensionInitWithParams(INITARGS);
-#ifdef XFree86LOADER
-
static MODULESETUPPROTO(vncSetup);
ExtensionModule vncExt =
@@ -62,7 +60,7 @@ static XF86ModuleVersionInfo vncVersRec =
"Constantin Kaplinsky",
MODINFOSTRING1,
MODINFOSTRING2,
- XF86_VERSION_CURRENT,
+ XORG_VERSION_CURRENT,
1, 0, 0,
ABI_CLASS_EXTENSION, /* needs the server extension ABI */
ABI_EXTENSION_VERSION,
@@ -70,7 +68,7 @@ static XF86ModuleVersionInfo vncVersRec =
{0,0,0,0}
};
-XF86ModuleData vncModuleData = { &vncVersRec, vncSetup, NULL };
+_X_EXPORT XF86ModuleData vncModuleData = { &vncVersRec, vncSetup, NULL };
static pointer
vncSetup(pointer module, pointer opts, int *errmaj, int *errmin) {
@@ -96,6 +94,4 @@ static void vncExtensionInitWithParams(INITARGS)
vncExtensionInit();
}
-
-#endif /* XFree86LOADER */
}