[Xorg] Introduce DRI_VERSION?

Thomas Winischhofer thomas at winischhofer.net
Thu Jun 17 05:04:02 PDT 2004


Would you DRI guys mind adding a #define for DRI_VERSION_CURRENT in the 
same style as XORG_VERSION_CURRENT so that changes like the types from 
drmHandle -> drm_handle_t can be handled smoothly with the C 
preprocessor for older versions?

Point being: I would like to compile my DDX driver with both XFree86 and 
X.org as I don't have time to maintain two or more versions. Since the 
preprocessor can't check for typedefs (AFAIK...) a DRI_VERSION_CURRENT 
would come extremely handy.

That shouldn't cause too much hassle...

Thomas

-- 
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net	       *** http://www.winischhofer.net
twini AT xfree86 DOT org




More information about the xorg mailing list