mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
Use #ifdef instead of #if for features to make Meson easier.
We mostly use #ifdef throughout the tree, and this lets the generated config.h files just be #define TOKEN instead of #define TOKEN 1. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
ace6bfd590
commit
c7be7a688a
10 changed files with 29 additions and 29 deletions
|
|
@ -58,7 +58,7 @@ cat > sdksyms.c << EOF
|
|||
#include "shmint.h"
|
||||
#endif
|
||||
#include "syncsdk.h"
|
||||
#if XINERAMA
|
||||
#ifdef XINERAMA
|
||||
# include "panoramiXsrv.h"
|
||||
# include "panoramiX.h"
|
||||
#endif
|
||||
|
|
@ -97,7 +97,7 @@ cat > sdksyms.c << EOF
|
|||
|
||||
|
||||
/* hw/xfree86/dri2/Makefile.am -- module */
|
||||
#if DRI2
|
||||
#ifdef DRI2
|
||||
# include "dri2.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -131,7 +131,7 @@ cat > sdksyms.c << EOF
|
|||
#include "xf86str.h"
|
||||
#include "xf86Xinput.h"
|
||||
#include "xisb.h"
|
||||
#if XV
|
||||
#ifdef XV
|
||||
# include "xf86xv.h"
|
||||
# include "xf86xvmc.h"
|
||||
# include "xf86xvpriv.h"
|
||||
|
|
@ -189,7 +189,7 @@ cat > sdksyms.c << EOF
|
|||
|
||||
|
||||
/* hw/xfree86/dri/Makefile.am -- module */
|
||||
#if XF86DRI
|
||||
#ifdef XF86DRI
|
||||
# include "dri.h"
|
||||
# include "sarea.h"
|
||||
# include "dristruct.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue