Extra paranoia for the XDGA_MAJOR_VERSION #define

This commit is contained in:
Jeff Teunissen 2001-02-11 23:32:54 +00:00
parent 8510dedee9
commit a05d02c786

View file

@ -44,7 +44,11 @@
# include <X11/extensions/xf86vmode.h> # include <X11/extensions/xf86vmode.h>
# include <X11/extensions/xf86vmstr.h> # include <X11/extensions/xf86vmstr.h>
# ifndef XDGA_MAJOR_VERSION # ifndef XDGA_MAJOR_VERSION
# define XDGA_MAJOR_VERSION XF86DGA_MAJOR_VERSION # ifdef XF86DGA_MAJOR_VERSION
# define XDGA_MAJOR_VERSION XF86DGA_MAJOR_VERSION
# else
# error "Neither XDGA_MAJOR_VERSION nor XF86DGA_MAJOR_VERSION found."
# endif
# endif # endif
#endif #endif