]> source.dussan.org Git - tigervnc.git/commitdiff
Another LoadExtensionList() that needs an #ifdef.
authorTim Waugh <twaugh@redhat.com>
Thu, 4 Sep 2014 09:52:06 +0000 (10:52 +0100)
committerTim Waugh <twaugh@redhat.com>
Thu, 4 Sep 2014 09:52:06 +0000 (10:52 +0100)
unix/xserver/hw/vnc/xf86vncModule.cc

index 596d399a66eea6281b9f8a2932dabf71ab5e618a..6bf5e3d86ac6a3c213f070f13fe25a92d707189c 100644 (file)
@@ -83,7 +83,11 @@ _X_EXPORT XF86ModuleData vncModuleData = { &vncVersRec, vncSetup, NULL };
 
 static void *
 vncSetup(void * module, void * opts, int *errmaj, int *errmin) {
+#if XORG >= 116
     LoadExtensionList(&vncExt, 1, FALSE);
+#else
+    LoadExtension(&vncExt, FALSE);
+#endif
     /* Need a non-NULL return value to indicate success */
     return (void *)1;
 }