diff options
author | Luc Verhaegen <libv@skynet.be> | 2005-10-21 10:44:00 +0000 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2005-10-21 10:44:00 +0000 |
commit | 4ed2721166df9d22b65eaa8e74cf59270e474bb2 (patch) | |
tree | 5d1855d6ff96094d177b8a0c0c8188dc4844af8b | |
parent | 96de2cc67fe2b436b2d5e0258c6d37f350eae4ea (diff) |
[devel-xorg_version_current] Fix drivers XF86ModuleVersionInfo to report
the Xorg version instead of the xfree86 one, when built against Xorg.
-rw-r--r-- | src/via_driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/via_driver.c b/src/via_driver.c index d12da8b..b0c3e50 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -336,7 +336,11 @@ static XF86ModuleVersionInfo VIAVersRec = { MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, +#ifdef XORG_VERSION_CURRENT + XORG_VERSION_CURRENT, +#else XF86_VERSION_CURRENT, +#endif VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL, ABI_CLASS_VIDEODRV, ABI_VIDEODRV_VERSION, |