mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-24 21:12:27 +00:00
Extra paranoia for the XDGA_MAJOR_VERSION #define
This commit is contained in:
parent
8510dedee9
commit
a05d02c786
1 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,11 @@
|
|||
# include <X11/extensions/xf86vmode.h>
|
||||
# include <X11/extensions/xf86vmstr.h>
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue