745ca8a62c
Since having XQueryInputVersion means also having XGetExtensionVersion we need to check the former first to avoid the deprecation warning.